Свойство | Тип | Описание | |
---|---|---|---|
WriteBeginClass | void | ||
WriteBeginNamespace | void | ||
WriteEndClass | void | ||
WriteEndNamespace | void | ||
WriteHeader | void | ||
WriteMetadata | void | ||
WriteProperty | void | ||
WriteUsing | void |
Метод | Описание | |
---|---|---|
ClassWriter ( |
Initializes a new instance of the ClassWriter class.
|
|
Write ( IEnumerable |
Writes the current sequence to the specified output.
|
|
Write ( |
Helper function to setup the class and write the output.
|
Метод | Описание | |
---|---|---|
WriteBeginClass ( string className ) : void |
Writes a begin class definition.
|
|
WriteBeginNamespace ( string namespaceName ) : void |
Writes a begin namespace.
|
|
WriteEndClass ( ) : void |
Writes the end of class.
|
|
WriteEndNamespace ( ) : void |
Writes the end namespace.
|
|
WriteHeader ( string className ) : void |
Writes the file header.
|
|
WriteMetadata ( IEnumerable |
Writes the metadata as class properties.
|
|
WriteProperty ( |
Writes a single property.
|
|
WriteUsing ( ) : void |
Writes the using statements.
|
public ClassWriter ( |
||
options | Output options. | |
output | Output writer to send class to. | |
headerFormat | string | Header format text. |
Результат | System |
public Write ( IEnumerable |
||
metadata | IEnumerable |
Sequence of metadata to write. |
Результат | void |
public static Write ( |
||
options | Output options. | |
metadata | IEnumerable |
Sequence of metadata to write. |
output | Output writer to send class to. | |
Результат | void |