프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_mixin |
메소드 | 설명 | |
---|---|---|
CanExecute ( |
called to check if the command can be executed.
|
|
Execute ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax childDeclaration, Microsoft.CodeAnalysis.SemanticModel semantic, |
Template method that checks if command can be executed and if yes, executes the command. Otherwise the original source code of the child is returned.
|
메소드 | 설명 | |
---|---|---|
InternalExecute ( |
executes the command on the given child class. Logic of command execution must be implemented in derived classes.
|
|
MixinCommandBase ( |
initializes the base fields of the command object
|
public abstract CanExecute ( |
||
childClass | ||
settings | optional settings | |
리턴 | bool |
public Execute ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax childDeclaration, Microsoft.CodeAnalysis.SemanticModel semantic, |
||
childDeclaration | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax | |
semantic | Microsoft.CodeAnalysis.SemanticModel | semantic model of the child's and mixin's source code |
settings | optional settings object | |
리턴 | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax |
protected abstract InternalExecute ( |
||
childClass | ||
semantic | Microsoft.CodeAnalysis.SemanticModel | semantic model of the child's and mixin's source code |
settings | optional settings object | |
리턴 | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax |
protected MixinCommandBase ( |
||
mixin | mixin that should be added to the child class | |
리턴 | Microsoft.CodeAnalysis |