Метод | Описание | |
---|---|---|
Append ( string codeText ) : void | ||
AppendLine ( string codeText ) : void | ||
CsBuilder ( int indent ) : System | ||
StartClass ( AccessModifiers access, ClassModifiers modifiers, ClassKeyword keyword, string className ) : void |
access modifiers keyword className [: baseNames] {
|
|
StartEnum ( AccessModifiers access, string enumName, string? baseName ) : void |
access> enum enumName [: baseName] {
|
|
StartMethod ( AccessModifiers access, MethodModifiers modifiers, string retType, string methodName ) : void |
access modifiers retType methodName (parameters) {
|
|
StartNamespace ( string ns ) : void |
namespace ns {
|
|
ToString ( ) : string | ||
Using ( string name, string? alias = null ) : void |
using [alias =] name;
|
public AppendLine ( string codeText ) : void | ||
codeText | string | |
Результат | void |
public StartClass ( AccessModifiers access, ClassModifiers modifiers, ClassKeyword keyword, string className ) : void | ||
access | AccessModifiers | Access modifiers |
modifiers | ClassModifiers | class modifiers |
keyword | ClassKeyword | class, record or struct |
className | string | Class name |
Результат | void |
public StartEnum ( AccessModifiers access, string enumName, string? baseName ) : void | ||
access | AccessModifiers | Access modifiers |
enumName | string | Name of the enum |
baseName | string? | optional base type name |
Результат | void |
public StartMethod ( AccessModifiers access, MethodModifiers modifiers, string retType, string methodName ) : void | ||
access | AccessModifiers | Access modifiers |
modifiers | MethodModifiers | Method modifiers |
retType | string | Return typename |
methodName | string | Name of method |
Результат | void |
public StartNamespace ( string ns ) : void | ||
ns | string | Dotted name. |
Результат | void |
public Using ( string name, string? alias = null ) : void | ||
name | string | |
alias | string? | |
Результат | void |