C# Class MixinRefactoring.InjectMixinsIntoChildCommand

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

Public Methods

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

Protected Methods

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

Method Details

CanExecute() public method

public CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
childClass ClassWithSourceCode
settings Settings
return bool

InjectMixinsIntoChildCommand() public method

public InjectMixinsIntoChildCommand ( MixinReference mixin ) : System
mixin MixinReference
return System

InternalExecute() protected method

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