C# Class MixinRefactoring.AddFieldDeclarationForMixinCommand

generates a field reference in the child class that points to the mixin
Inheritance: MixinCommandBase
Afficher le fichier Open project: pgenfer/mixinSharp Class Usage Examples

Méthodes publiques

Méthode Description
AddFieldDeclarationForMixinCommand ( MixinReference mixin ) : System
CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool

Méthodes protégées

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

Method Details

AddFieldDeclarationForMixinCommand() public méthode

public AddFieldDeclarationForMixinCommand ( MixinReference mixin ) : System
mixin MixinReference
Résultat System

CanExecute() public méthode

public CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
childClass ClassWithSourceCode
settings Settings
Résultat bool

InternalExecute() protected méthode

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