CsvClassBuilder Class |
Namespace: FileHelpers.Dynamic
The CsvClassBuilder type exposes the following members.
Name | Description | |
---|---|---|
![]() | CsvClassBuilder(CsvOptions) | Creates a new DelimitedClassBuilder. |
![]() | CsvClassBuilder(String, Char, Int32) | Creates a new DelimitedClassBuilder. |
![]() | CsvClassBuilder(String, Char, String) | Creates a new DelimitedClassBuilder. |
Name | Description | |
---|---|---|
![]() | AdditionalReferences | (Inherited from ClassBuilder.) |
![]() | ClassName | Gets or sets the name of the Class. (Inherited from ClassBuilder.) |
![]() | CommentText | Comment text placed above the class definition (Inherited from ClassBuilder.) |
![]() | Delimiter | The Delimiter that marks the end of each field. (Inherited from DelimitedClassBuilder.) |
![]() | FieldCount | Returns the current number of fields. (Inherited from ClassBuilder.) |
![]() | Fields | Returns the current fields of the class. (Inherited from DelimitedClassBuilder.) |
![]() | GenerateProperties | Indicates if this ClassBuilder generates also the property accessors (Perfect for DataBinding) (Inherited from ClassBuilder.) |
![]() | IgnoreCommentedLines | Indicates that the engine must ignore the lines with this comment marker. (Inherited from ClassBuilder.) |
![]() | IgnoreEmptyLines | Indicates that the engines must ignore the empty lines in the files. (Inherited from ClassBuilder.) |
![]() | IgnoreFirstLines | Indicates the number of FIRST LINES or heading records to be ignored by the engines. (Inherited from ClassBuilder.) |
![]() | IgnoreLastLines | Indicates the number of LAST LINES or trailing records to be ignored by the engines. (Inherited from ClassBuilder.) |
![]() | LastField | Return the last added field. (use it reduce casts and code) (Inherited from DelimitedClassBuilder.) |
![]() | Namespace | The namespace used when creating the class. (Inherited from ClassBuilder.) |
![]() | RecordCondition | Allow to tell the engine what records must be included or excluded while reading. (Inherited from ClassBuilder.) |
![]() | SealedClass | Indicates if the generated class must be sealed. (Inherited from ClassBuilder.) |
![]() | Visibility | The Visibility for the class. (Inherited from ClassBuilder.) |
Name | Description | |
---|---|---|
![]() | AddField(String) | Add a new Delimited string field to the current class. (Inherited from DelimitedClassBuilder.) |
![]() | AddField(DelimitedFieldBuilder) | Add a new Delimited field to the current class. (Inherited from DelimitedClassBuilder.) |
![]() | AddField(String, String) | Add a new Delimited field to the current class. (Overrides DelimitedClassBuilderAddField(String, String).) |
![]() | AddField(String, Type) | Add a new Delimited field to the current class. (Inherited from DelimitedClassBuilder.) |
![]() | AddFields(Int32) |
Adds to the class the specified number of fields.
(Overrides DelimitedClassBuilderAddFields(Int32).) |
![]() | AddFields(Int32, String) |
Adds to the class the specified number of fields.
|
![]() | ClearFields | Removes all the Fields of the current class. (Inherited from ClassBuilder.) |
![]() | CreateRecordClass | Generate the runtime record class to be used by the engines. (Inherited from ClassBuilder.) |
![]() | FieldByIndex | Return the field at the specified index. (Inherited from DelimitedClassBuilder.) |
![]() | GetClassBinaryCode |
Returns the ENCRYPTED code for the current class in the specified language.
(Inherited from ClassBuilder.) |
![]() | GetClassSourceCode |
Returns the source code for the current class in the specified language.
(Inherited from ClassBuilder.) |
![]() | SaveToBinaryFile(String) | Write the ENCRYPTED source code of the current class to a file. (In C#) (Inherited from ClassBuilder.) |
![]() | SaveToBinaryFile(String, NetLanguage) | Write the ENCRYPTED source code of the current class to a file. (In C#) (Inherited from ClassBuilder.) |
![]() | SaveToSourceFile(String) | Write the source code of the current class to a file. (In C#) (Inherited from ClassBuilder.) |
![]() | SaveToSourceFile(String, NetLanguage) | Write the source code of the current class to a file. (In the specified language) (Inherited from ClassBuilder.) |
![]() | SaveToXml(Stream) |
Saves to an Stream the XML representation of the current record class.
(Inherited from ClassBuilder.) |
![]() | SaveToXml(TextWriter) |
Save to a TextWriter the XML representation of the current record class.
(Inherited from ClassBuilder.) |
![]() | SaveToXml(String) |
Saves to a file the XML representation of the current record class.
(Inherited from ClassBuilder.) |
![]() | SaveToXmlString |
Creates the XML representation of the current record class.
(Inherited from ClassBuilder.) |