Méthode | Description | |
---|---|---|
AddDefaultConstructor ( this instance, bool moveToCorrectPosition ) : CodeFunction |
add a default constructor.
|
|
GetConstructors ( this instance ) : IEnumerable |
Gets the constructors.
|
|
GetFunction ( this instance, string functionName ) : CodeFunction |
Gets the function.
|
|
GetVariables ( this instance ) : IEnumerable |
Gets the variables.
|
|
ImplementCodeSnippet ( this instance, CodeSnippet codeSnippet, bool formatFunctionParameters ) : void |
Implements the code snippet.
|
|
ImplementFunction ( this instance, CodeSnippet codeSnippet ) : void |
Implements the function.
|
|
ImplementInterface ( this instance, CodeFunction constructor, string variable ) : void |
Implements the interface.
|
|
ImplementMockCode ( this instance, CodeSnippet codeSnippet ) : void |
Implements the mock code.
|
|
ImplementMockVariable ( this instance, string name, string type, string mockVariableDeclaration ) : CodeVariable |
Implements the mock variable.
|
|
ImplementVariable ( this instance, string name, string type, bool isReadOnly ) : CodeVariable |
Implements the variable.
|
|
RemoveComments ( this instance ) : void |
Removes the comments.
|
public static AddDefaultConstructor ( this instance, bool moveToCorrectPosition ) : CodeFunction | ||
instance | this | The instance. |
moveToCorrectPosition | bool | if set to |
Résultat | CodeFunction |
public static GetConstructors ( this instance ) : IEnumerable |
||
instance | this | The instance. |
Résultat | IEnumerable |
public static GetFunction ( this instance, string functionName ) : CodeFunction | ||
instance | this | The instance. |
functionName | string | Name of the function. |
Résultat | CodeFunction |
public static GetVariables ( this instance ) : IEnumerable |
||
instance | this | The instance. |
Résultat | IEnumerable |
public static ImplementCodeSnippet ( this instance, CodeSnippet codeSnippet, bool formatFunctionParameters ) : void | ||
instance | this | The instance. |
codeSnippet | CodeSnippet | The code snippet. |
formatFunctionParameters | bool | if set to |
Résultat | void |
public static ImplementFunction ( this instance, CodeSnippet codeSnippet ) : void | ||
instance | this | The instance. |
codeSnippet | CodeSnippet | The code snippet. |
Résultat | void |
public static ImplementInterface ( this instance, CodeFunction constructor, string variable ) : void | ||
instance | this | The instance. |
constructor | CodeFunction | The constructor. |
variable | string | The variable. |
Résultat | void |
public static ImplementMockCode ( this instance, CodeSnippet codeSnippet ) : void | ||
instance | this | The instance. |
codeSnippet | CodeSnippet | The code snippet. |
Résultat | void |
public static ImplementMockVariable ( this instance, string name, string type, string mockVariableDeclaration ) : CodeVariable | ||
instance | this | The instance. |
name | string | The name. |
type | string | The type. |
mockVariableDeclaration | string | The mock variable declaration. |
Résultat | CodeVariable |
public static ImplementVariable ( this instance, string name, string type, bool isReadOnly ) : CodeVariable | ||
instance | this | The instance. |
name | string | The name. |
type | string | The type. |
isReadOnly | bool | if set to |
Résultat | CodeVariable |
public static RemoveComments ( this instance ) : void | ||
instance | this | The instance. |
Résultat | void |