Метод | Описание | |
---|---|---|
MethodDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null, bool createWhenProtected = false ) : System |
Initializes a new instance of the MethodDefinitionTranslationUnitFactory class.
|
|
MethodDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, bool createWhenProtected = false ) : System |
Initializes a new instance of the MethodDefinitionTranslationUnitFactory class.
|
|
MethodDefinitionTranslationUnitFactory ( |
Copy initializes a new instance of the MethodDefinitionTranslationUnitFactory class. For testability. |
Метод | Описание | |
---|---|---|
CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit returnType, ITranslationUnit name ) : ITranslationUnit |
Creates the translation unit. Must return a type inheriting from MethodSignatureDeclarationTranslationUnit. |
protected CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit returnType, ITranslationUnit name ) : ITranslationUnit | ||
visibility | VisibilityToken | |
returnType | ITranslationUnit | |
name | ITranslationUnit | |
Результат | ITranslationUnit |
public MethodDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null, bool createWhenProtected = false ) : System | ||
node | CSharpSyntaxNode | The syntax node. |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model |
createWhenProtected | bool | A value indicating whether the factory should create a |
Результат | System |
public MethodDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, bool createWhenProtected = false ) : System | ||
node | CSharpSyntaxNode | The syntax node. |
createWhenProtected | bool | A value indicating whether the factory should create a |
Результат | System |
public MethodDefinitionTranslationUnitFactory ( |
||
other | ||
Результат | System |