C# Class MixinRefactoring.InjectMixinsIntoChildCommand

command that adds the constructor injection code of the mixins into the child class
Inheritance: MixinCommandBase
Afficher le fichier Open project: pgenfer/mixinSharp Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
InjectMixinsIntoChildCommand ( MixinReference mixin ) : System

Méthodes protégées

Méthode Description
InternalExecute ( ClassWithSourceCode childClass, Microsoft.CodeAnalysis.SemanticModel semantic, Settings settings = null ) : Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax

Method Details

CanExecute() public méthode

public CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
childClass ClassWithSourceCode
settings Settings
Résultat bool

InjectMixinsIntoChildCommand() public méthode

public InjectMixinsIntoChildCommand ( MixinReference mixin ) : System
mixin MixinReference
Résultat System

InternalExecute() protected méthode

protected InternalExecute ( ClassWithSourceCode childClass, Microsoft.CodeAnalysis.SemanticModel semantic, Settings settings = null ) : Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
childClass ClassWithSourceCode
semantic Microsoft.CodeAnalysis.SemanticModel
settings Settings
Résultat Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax