Поделиться через


ProvideDirectiveProcessorAttribute Класс

Определение

Важно!

Этот API несовместим с CLS.

Класс атрибута, предоставляющий записи реестра для процессора директив T4.VSHost

public ref class ProvideDirectiveProcessorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDirectiveProcessorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.CLSCompliant(false)]
public sealed class ProvideDirectiveProcessorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideDirectiveProcessorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
type ProvideDirectiveProcessorAttribute = class
    inherit RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideDirectiveProcessorAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideDirectiveProcessorAttribute
Inherits RegistrationAttribute
Наследование
ProvideDirectiveProcessorAttribute
Атрибуты

Конструкторы

ProvideDirectiveProcessorAttribute(Type, String, String)

Конструктор

Поля

DirectiveProcessorsKeyName

Имя конкретного раздела реестра для процессоров директив.

TextTemplatingKeyName

Имя корневого раздела реестра для текстовых шаблонов.

Свойства

Description

Описание процессора директив, удобное для человеческого восприятия.

Name

Имя процессора директив.

Type

Тип, реализующий процессор директив.

TypeId

Переопределите свойство TypeID, чтобы разрешить производным классам RegistrationAttribute работать с System.ComponentModel.TypeDescriptor.GetAttributes(...). Атрибут, производный от этого , должен переопределять это свойство только в том случае, если ему требуется более качественный контроль над экземплярами, которые можно применить к классу.

(Унаследовано от RegistrationAttribute)

Методы

GetPackageRegKeyPath(Guid)

Получает путь в реестре (относительно корня реестра приложения) VSPackage.

(Унаследовано от RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Регистрация процессора директив текстовых шаблонов

Unregister(RegistrationAttribute+RegistrationContext)

Отмена регистрации процессора директив текстовых шаблонов

Применяется к