C# Класс PredictiveCodeSuggestions.Generators.ReturnGenerator

Defines the ReturnGenerator class.
Наследование: GeneratorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
GetActionId ( ) : string

Gets the action id.

GetTitle ( ) : string

Gets the title.

Описание методов

CanExecute() публичный Метод

Determines whether this instance can execute the specified data context.
public CanExecute ( DataContext context ) : bool
context DataContext The data context.
Результат bool

Execute() публичный Метод

Executes the specified data context.
public Execute ( DataContext context ) : void
context DataContext The context.
Результат void

GetActionGroup() публичный Метод

Gets or sets the action group.
public GetActionGroup ( ) : ActionGroup
Результат ActionGroup

GetActionId() защищенный Метод

Gets the action id.
protected GetActionId ( ) : string
Результат string

GetTitle() защищенный Метод

Gets the title.
protected GetTitle ( ) : string
Результат string

ReturnGenerator() публичный Метод

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.
Результат PredictiveCodeSuggestions.LiveTemplates