C# Class MixinRefactoring.IncludeMixinCommand

includes a mixin in a child class.
Inheritance: MixinCommandBase
Exibir arquivo Open project: pgenfer/mixinSharp Class Usage Examples

Public Methods

Method Description
CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
IncludeMixinCommand ( MixinReference mixin ) : Microsoft.CodeAnalysis

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

IncludeMixinCommand() public method

public IncludeMixinCommand ( MixinReference mixin ) : Microsoft.CodeAnalysis
mixin MixinReference
return Microsoft.CodeAnalysis

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