C# Класс PredictiveCodeSuggestions.SmartGenerators.AutoTemplateGenerator

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

Private Properties

Свойство Тип Описание

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

Метод Описание
AutoTemplateGenerator ( [ autoTemplate, ScopeInstance scope ) : System

Initializes a new instance of the AutoTemplateGenerator 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.

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

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

Gets the action id.

GetTitle ( ) : string

Gets the title.

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

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

Initializes a new instance of the AutoTemplateGenerator class.
public AutoTemplateGenerator ( [ autoTemplate, ScopeInstance scope ) : System
autoTemplate [ The smart template.
scope PredictiveCodeSuggestions.LiveTemplates.ScopeInstance The scope.
Результат System

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 data 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