FixedLengthClassBuilder Class |
Namespace: FileHelpers.Dynamic
The FixedLengthClassBuilder type exposes the following members.
Name | Description | |
---|---|---|
FixedLengthClassBuilder(String) | Used to create classes that maps to Fixed Length records. | |
FixedLengthClassBuilder(String, FixedMode) | Used to create classes that maps to Fixed Length records. | |
FixedLengthClassBuilder(String, Int32) |
Used to create classes that maps to Fixed Length records
and automatically instantiate many string fields as values
are passed in the lengths arg.
| |
FixedLengthClassBuilder(String, DataTable, Int32) | Used to create classes that maps to Fixed Length records 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.) | |
FieldCount | Returns the current number of fields. (Inherited from ClassBuilder.) | |
Fields | Returns the current fields of the class. | |
FixedMode | Indicates the behavior when variable length records are found | |
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(FixedFieldBuilder) | Adds a new Fixed Length field. | |
AddField(String, Int32, String) | Adds a new Fixed Length field. | |
AddField(String, Int32, Type) | Adds a new Fixed Length field. | |
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.) | |
SetFieldsLength |
Set the length of each field at once.
|