C# Class MixinRefactoring.ConstructorInjectionSyntaxWriter

extends a given class declaration by adding/extending constructors with an injected mixin instance
Inheritance: CSharpSyntaxRewriter
Afficher le fichier Open project: pgenfer/mixinSharp Class Usage Examples

Méthodes publiques

Méthode Description
ConstructorInjectionSyntaxWriter ( MixinReference mixin, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
VisitConstructorDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
VisitConstructorInitializer ( ConstructorInitializerSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode

Method Details

ConstructorInjectionSyntaxWriter() public méthode

public ConstructorInjectionSyntaxWriter ( MixinReference mixin, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
mixin MixinReference
semanticModel Microsoft.CodeAnalysis.SemanticModel
Résultat System

VisitClassDeclaration() public méthode

public VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
node Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
Résultat Microsoft.CodeAnalysis.SyntaxNode

VisitConstructorDeclaration() public méthode

public VisitConstructorDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
node Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Résultat Microsoft.CodeAnalysis.SyntaxNode

VisitConstructorInitializer() public méthode

public VisitConstructorInitializer ( ConstructorInitializerSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
node ConstructorInitializerSyntax
Résultat Microsoft.CodeAnalysis.SyntaxNode