DelimitedClassBuilder Class |
Namespace: FileHelpers.Dynamic
The DelimitedClassBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
| DelimitedClassBuilder(String) | Creates a new DelimitedClassBuilder. | |
| DelimitedClassBuilder(String, String) | Creates a new DelimitedClassBuilder. | |
| DelimitedClassBuilder(String, String, DataTable) | Creates a new DelimitedClassBuilder with the same structure than a DataTable. |
| 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. | |
| FieldCount | Returns the current number of fields. (Inherited from ClassBuilder.) | |
| Fields | Returns the current fields of the class. | |
| 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) | |
| 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. | |
| AddField(DelimitedFieldBuilder) | Add a new Delimited field to the current class. | |
| AddField(String, String) | Add a new Delimited field to the current class. | |
| AddField(String, Type) | Add a new Delimited field to the current class. | |
| AddFields |
Adds n fields of type string, with the names "Field1", Field2", etc
| |
| 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. | |
| 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.) |