C# Class Rosetta.ScriptSharp.Definition.AST.Factories.PropertyDefinitionTranslationUnitFactory

Generic helper.
Inheritance: Rosetta.AST.Factories.PropertyDeclarationTranslationUnitFactory
Mostrar archivo Open project: andry-tino/Rosetta Class Usage Examples

Public Methods

Method Description
PropertyDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null, bool createWhenProtected = false ) : System

Initializes a new instance of the PropertyDefinitionTranslationUnitFactory class.

PropertyDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, bool createWhenProtected = false ) : System

Initializes a new instance of the PropertyDefinitionTranslationUnitFactory class.

PropertyDefinitionTranslationUnitFactory ( PropertyDefinitionTranslationUnitFactory other ) : System

Copy initializes a new instance of the PropertyDefinitionTranslationUnitFactory class.

For testability.

Protected Methods

Method Description
CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit type, ITranslationUnit name, bool hasGet, bool hasSet ) : ITranslationUnit

Creates the translation unit.

Method Details

CreateTranslationUnit() protected method

Creates the translation unit.
protected CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit type, ITranslationUnit name, bool hasGet, bool hasSet ) : ITranslationUnit
visibility VisibilityToken
type ITranslationUnit
name ITranslationUnit
hasGet bool
hasSet bool
return ITranslationUnit

PropertyDefinitionTranslationUnitFactory() public method

Initializes a new instance of the PropertyDefinitionTranslationUnitFactory class.
public PropertyDefinitionTranslationUnitFactory ( 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 when is protected.
return System

PropertyDefinitionTranslationUnitFactory() public method

Initializes a new instance of the PropertyDefinitionTranslationUnitFactory class.
public PropertyDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, bool createWhenProtected = false ) : System
node CSharpSyntaxNode The syntax node.
createWhenProtected bool A value indicating whether the factory should create a when is protected.
return System

PropertyDefinitionTranslationUnitFactory() public method

Copy initializes a new instance of the PropertyDefinitionTranslationUnitFactory class.
For testability.
public PropertyDefinitionTranslationUnitFactory ( PropertyDefinitionTranslationUnitFactory other ) : System
other PropertyDefinitionTranslationUnitFactory
return System