C# Class PredictiveCodeSuggestions.Generators.GeneratorBase

Defines the GeneratorBase class.
显示文件 Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Private Properties

Property Type Description
GetActionId string
GetTitle string

Public Methods

Method Description
CanExecute ( [ context ) : bool

Determines whether this instance can execute the specified data context.

Execute ( [ context ) : void

Executes the specified data context.

GetActionGroup ( ) : ActionGroup

Gets or sets the action group.

Private Methods

Method Description
GetActionId ( ) : string
GetTitle ( ) : string

Method Details

CanExecute() public abstract method

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

Execute() public abstract method

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

GetActionGroup() public abstract method

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