C# Class MixinRefactoring.AddMixinToBaseListCommand

the mixin and its interfaces will be added to the base class list of the child class
Inheritance: MixinCommandBase
Exibir arquivo Open project: pgenfer/mixinSharp

Public Methods

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

Protected Methods

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

Method Details

AddMixinToBaseListCommand() public method

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

CanExecute() public method

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

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