C# Class PredictiveCodeSuggestions.Generators.ReturnGenerator

Defines the ReturnGenerator class.
Inheritance: GeneratorBase
Afficher le fichier Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Méthodes publiques

Méthode Description
CanExecute ( DataContext context ) : bool

Determines whether this instance can execute the specified data context.

Execute ( DataContext context ) : void

Executes the specified data context.

GetActionGroup ( ) : ActionGroup

Gets or sets the action group.

ReturnGenerator ( ReturnPopulator model, string text, string liveTemplate ) : PredictiveCodeSuggestions.LiveTemplates

Initializes a new instance of the ReturnGenerator class.

Méthodes protégées

Méthode Description
GetActionId ( ) : string

Gets the action id.

GetTitle ( ) : string

Gets the title.

Method Details

CanExecute() public méthode

Determines whether this instance can execute the specified data context.
public CanExecute ( DataContext context ) : bool
context DataContext The data context.
Résultat bool

Execute() public méthode

Executes the specified data context.
public Execute ( DataContext context ) : void
context DataContext The context.
Résultat void

GetActionGroup() public méthode

Gets or sets the action group.
public GetActionGroup ( ) : ActionGroup
Résultat ActionGroup

GetActionId() protected méthode

Gets the action id.
protected GetActionId ( ) : string
Résultat string

GetTitle() protected méthode

Gets the title.
protected GetTitle ( ) : string
Résultat string

ReturnGenerator() public méthode

Initializes a new instance of the ReturnGenerator class.
public ReturnGenerator ( ReturnPopulator model, string text, string liveTemplate ) : PredictiveCodeSuggestions.LiveTemplates
model ReturnPopulator The model.
text string The text.
liveTemplate string The live template.
Résultat PredictiveCodeSuggestions.LiveTemplates