C# 클래스 MixinRefactoring.AddFieldDeclarationForMixinCommand

generates a field reference in the child class that points to the mixin
상속: MixinCommandBase
파일 보기 프로젝트 열기: pgenfer/mixinSharp 1 사용 예제들

공개 메소드들

메소드 설명
AddFieldDeclarationForMixinCommand ( MixinReference mixin ) : System
CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool

보호된 메소드들

메소드 설명
InternalExecute ( ClassWithSourceCode childClass, Microsoft.CodeAnalysis.SemanticModel semantic, Settings settings = null ) : Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax

메소드 상세

AddFieldDeclarationForMixinCommand() 공개 메소드

public AddFieldDeclarationForMixinCommand ( MixinReference mixin ) : System
mixin MixinReference
리턴 System

CanExecute() 공개 메소드

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

InternalExecute() 보호된 메소드

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