Méthode | 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 AppendLine ( string codeText ) : void | ||
codeText | string | |
Résultat | 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 |
Résultat | 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 |
Résultat | 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 |
Résultat | void |
public StartNamespace ( string ns ) : void | ||
ns | string | Dotted name. |
Résultat | void |
public Using ( string name, string? alias = null ) : void | ||
name | string | |
alias | string? | |
Résultat | void |