C# Class MixinRefactoring.CreateMixinFromFieldDeclarationCommand

Composite command that includes a mixin into a child class. A reference to the mixin is already defined as a field in the child class.
Inheritance: CompositeCommand
Afficher le fichier Open project: pgenfer/mixinSharp Class Usage Examples

Méthodes publiques

Méthode Description
CreateMixinFromFieldDeclarationCommand ( Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax mixinFieldDeclaration, Microsoft.CodeAnalysis.SemanticModel semantic ) : Microsoft.CodeAnalysis
CreateMixinFromFieldDeclarationCommand ( MixinReference mixin ) : Microsoft.CodeAnalysis

constructor that takes a mixin directly. Can be used for testing

Méthodes protégées

Méthode Description
CreateCommands ( MixinReference mixin ) : IMixinCommand[]

Method Details

CreateCommands() protected méthode

protected CreateCommands ( MixinReference mixin ) : IMixinCommand[]
mixin MixinReference
Résultat IMixinCommand[]

CreateMixinFromFieldDeclarationCommand() public méthode

public CreateMixinFromFieldDeclarationCommand ( Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax mixinFieldDeclaration, Microsoft.CodeAnalysis.SemanticModel semantic ) : Microsoft.CodeAnalysis
mixinFieldDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax
semantic Microsoft.CodeAnalysis.SemanticModel
Résultat Microsoft.CodeAnalysis

CreateMixinFromFieldDeclarationCommand() public méthode

constructor that takes a mixin directly. Can be used for testing
public CreateMixinFromFieldDeclarationCommand ( MixinReference mixin ) : Microsoft.CodeAnalysis
mixin MixinReference
Résultat Microsoft.CodeAnalysis