C# Class PredictiveCodeSuggestions.Generators.AssignmentGenerator

Defines the AssignmentGenerator class.
Inheritance: GeneratorBase
Show file Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Public Methods

Method Description
AssignmentGenerator ( AssignmentPopulator model, string text, string liveTemplate ) : PredictiveCodeSuggestions.LiveTemplates

Initializes a new instance of the AssignmentGenerator class.

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.

Protected Methods

Method Description
GetActionId ( ) : string

Gets the action id.

GetTitle ( ) : string

Gets the title.

Method Details

AssignmentGenerator() public method

Initializes a new instance of the AssignmentGenerator class.
public AssignmentGenerator ( AssignmentPopulator model, string text, string liveTemplate ) : PredictiveCodeSuggestions.LiveTemplates
model AssignmentPopulator The model.
text string The text.
liveTemplate string The live template.
return PredictiveCodeSuggestions.LiveTemplates

CanExecute() public method

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

Execute() public method

Executes the specified data context.
public Execute ( DataContext context ) : void
context DataContext The context.
return void

GetActionGroup() public method

Gets or sets the action group.
public GetActionGroup ( ) : ActionGroup
return ActionGroup

GetActionId() protected method

Gets the action id.
protected GetActionId ( ) : string
return string

GetTitle() protected method

Gets the title.
protected GetTitle ( ) : string
return string