ClassBuilder Class |
Namespace: FileHelpers.Dynamic
The ClassBuilder type exposes the following members.
Name | Description | |
---|---|---|
AdditionalReferences | ||
ClassName | Gets or sets the name of the Class. | |
CommentText | Comment text placed above the class definition | |
FieldCount | Returns the current number of fields. | |
Fields | Returns the current fields of the class. | |
GenerateProperties | Indicates if this ClassBuilder generates also the property accessors (Perfect for DataBinding) | |
IgnoreCommentedLines | Indicates that the engine must ignore the lines with this comment marker. | |
IgnoreEmptyLines | Indicates that the engines must ignore the empty lines in the files. | |
IgnoreFirstLines | Indicates the number of FIRST LINES or heading records to be ignored by the engines. | |
IgnoreLastLines | Indicates the number of LAST LINES or trailing records to be ignored by the engines. | |
Namespace | The namespace used when creating the class. | |
RecordCondition | Allow to tell the engine what records must be included or excluded while reading. | |
SealedClass | Indicates if the generated class must be sealed. | |
Visibility | The Visibility for the class. |
Name | Description | |
---|---|---|
ClassFromBinaryFile(String) |
Create a class from a encrypted source file with the default password
| |
ClassFromBinaryFile(String, NetLanguage) |
Create a class from a encrypted source file with the default password
| |
ClassFromBinaryFile(String, String, NetLanguage) |
Create a class from a encrypted source file with the default password
| |
ClassFromBinaryFile(String, String, NetLanguage, String) |
Create a class from a encrypted source file with the given password
| |
ClassFromSourceFile(String) |
Create a class from a source file.
| |
ClassFromSourceFile(String, NetLanguage) |
Create a class from a source file.
| |
ClassFromSourceFile(String, String) |
Create a class from a source file.
| |
ClassFromSourceFile(String, String, NetLanguage) |
Create a class from a source file.
| |
ClassFromString(String) | Compiles the source code passed and returns the FIRST Type of the assembly. (Code in C#) | |
ClassFromString(String, NetLanguage) | Compiles the source code passed and returns the FIRST Type of the assembly. | |
ClassFromString(String, String) | Compiles the source code passed and returns the Type with the name className. (Code in C#) | |
ClassFromString(String, String, NetLanguage, ListAssembly) | Compiles the source code passed and returns the Type with the name className. | |
ClassFromXmlFile |
Create a class from a XML file generated with the Wizard or
saved using the SaveToXml Method.
| |
ClassToBinaryFile(String, String) |
Encrypt the class source code with the default password and write it to a file.
| |
ClassToBinaryFile(String, String, String) |
Encrypt the class source code with the given password and write it to a file.
| |
ClearFields | Removes all the Fields of the current class. | |
CreateRecordClass | Generate the runtime record class to be used by the engines. | |
FieldByIndex | Return the field at the specified index. | |
GetClassBinaryCode |
Returns the ENCRYPTED code for the current class in the specified language.
| |
GetClassSourceCode |
Returns the source code for the current class in the specified language.
| |
LoadFromXml(String) |
Loads the XML representation of a ClassBuilder inheritor and return
it. (for XML saved with SaveToXml method)
| |
LoadFromXml(XmlDocument) |
Loads the XML representation of a ClassBuilder inheritor and return
it. (for XML saved with SaveToXml method)
| |
LoadFromXmlString |
Loads the XML representation of a ClassBuilder inheritor and return
it. (for XML saved with SaveToXml method)
| |
SaveToBinaryFile(String) | Write the ENCRYPTED source code of the current class to a file. (In C#) | |
SaveToBinaryFile(String, NetLanguage) | Write the ENCRYPTED source code of the current class to a file. (In C#) | |
SaveToSourceFile(String) | Write the source code of the current class to a file. (In C#) | |
SaveToSourceFile(String, NetLanguage) | Write the source code of the current class to a file. (In the specified language) | |
SaveToXml(Stream) |
Saves to an Stream the XML representation of the current record class.
| |
SaveToXml(TextWriter) |
Save to a TextWriter the XML representation of the current record class.
| |
SaveToXml(String) |
Saves to a file the XML representation of the current record class.
| |
SaveToXmlString |
Creates the XML representation of the current record class.
|