C# Класс MixinRefactoring.CompositeCommand

base class for commands composed of other commands. A composite command will execute all its commands sequentially and will create
Наследование: IMixinCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
Execute ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax childDeclaration, Microsoft.CodeAnalysis.SemanticModel semantic, Settings settings = null ) : Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax

Защищенные методы

Метод Описание
CompositeCommand ( MixinReference mixin ) : System
CreateCommands ( MixinReference mixin ) : IMixinCommand[]

must be implemented by derived classes. Should return all commands that are part of this composition.

Описание методов

CanExecute() публичный Метод

public CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
childClass ClassWithSourceCode
settings Settings
Результат bool

CompositeCommand() защищенный Метод

protected CompositeCommand ( MixinReference mixin ) : System
mixin MixinReference
Результат System

CreateCommands() защищенный абстрактный Метод

must be implemented by derived classes. Should return all commands that are part of this composition.
protected abstract CreateCommands ( MixinReference mixin ) : IMixinCommand[]
mixin MixinReference
Результат IMixinCommand[]

Execute() публичный Метод

public Execute ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax childDeclaration, Microsoft.CodeAnalysis.SemanticModel semantic, Settings settings = null ) : Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
childDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
semantic Microsoft.CodeAnalysis.SemanticModel
settings Settings
Результат Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax