Method | Description | |
---|---|---|
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 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 |
return | 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 |
return | 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 |
return | void |
public StartNamespace ( string ns ) : void | ||
ns | string | Dotted name. |
return | void |
public Using ( string name, string? alias = null ) : void | ||
name | string | |
alias | string? | |
return | void |