Class TextSource

Reads data from a text file. Each line is read as a string and converted into an object by the ParseLineFunc. A line is defined as a sequence of characters followed by a line feed("\n"), a carriage return ("\r"), or a carriage return immediately followed by a line feed("\r\n").

Inheritance
System.Object
DataFlowSource<System.Dynamic.ExpandoObject>
DataFlowExecutableSource<System.Dynamic.ExpandoObject>
DataFlowStreamSource<System.Dynamic.ExpandoObject>
TextSource<System.Dynamic.ExpandoObject>
TextSource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ETLBox.DataFlow.Connectors
Assembly: ETLBox.dll
Syntax
    public class TextSource : TextSource<ExpandoObject>, IDataFlowLogging, IDataFlowStreamSource<ExpandoObject>, IDataFlowExecutableSource<ExpandoObject>, IDataFlowExecutableSource, IDataFlowStreamSource, ILoggableTask, IDataFlowSource<ExpandoObject>, IDataFlowSource, IDataFlowComponent

Constructors

TextSource()

Declaration
    public TextSource()

TextSource(String)

Declaration
    public TextSource(string uri)
Parameters
TypeNameDescription
System.Stringuri

TextSource(String, Func<String, Int32, ExpandoObject>)

Declaration
    public TextSource(string uri, Func<string, int, ExpandoObject> parseLineFunc)
Parameters
TypeNameDescription
System.Stringuri
System.Func<System.String, System.Int32, System.Dynamic.ExpandoObject>parseLineFunc

Implements