Klasa ProvideDirectiveProcessorAttribute
Atrybut klasy zapewnienie T4 wpisy rejestru.Procesor VSHost dyrektywy
Ten interfejs API nie jest zgodny ze specyfikacją CLS.
Hierarchia dziedziczenia
Object
Attribute
RegistrationAttribute
Microsoft.VisualStudio.TextTemplating.VSHost.ProvideDirectiveProcessorAttribute
Przestrzeń nazw: Microsoft.VisualStudio.TextTemplating.VSHost
Zestaw: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (w Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)
Składnia
'Deklaracja
<CLSCompliantAttribute(False)> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
Public NotInheritable Class ProvideDirectiveProcessorAttribute _
Inherits RegistrationAttribute
[CLSCompliantAttribute(false)]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ProvideDirectiveProcessorAttribute : RegistrationAttribute
[CLSCompliantAttribute(false)]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
public ref class ProvideDirectiveProcessorAttribute sealed : public RegistrationAttribute
[<Sealed>]
[<CLSCompliantAttribute(false)>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)>]
type ProvideDirectiveProcessorAttribute =
class
inherit RegistrationAttribute
end
public final class ProvideDirectiveProcessorAttribute extends RegistrationAttribute
Typ ProvideDirectiveProcessorAttribute uwidacznia następujące elementy członkowskie.
Konstruktorzy
Nazwa | Opis | |
---|---|---|
![]() |
ProvideDirectiveProcessorAttribute |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Description | Opis ludzi dyrektywa procesora |
![]() |
Name | Nazwa dyrektywa procesora |
![]() |
Type | Typ procesora dyrektywy wykonawcze |
![]() |
TypeId | (Odziedziczone z RegistrationAttribute). |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Equals | Infrastruktura. Zwraca wartość wskazującą, czy to wystąpienie jest równe podanemu obiektowi. (Odziedziczone z Attribute). |
![]() |
GetHashCode | Zwraca kod skrótu dla tego wystąpienia. (Odziedziczone z Attribute). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
IsDefaultAttribute | Po zastąpieniu w klasie pochodnej, wskazuje, czy wartość to wystąpienie jest wartością domyślną dla klasy pochodnej. (Odziedziczone z Attribute). |
![]() |
Match | Po zastąpieniu w klasie pochodnej, zwraca wartość wskazującą, czy to wystąpienie jest równa określonego obiektu. (Odziedziczone z Attribute). |
![]() |
Register | (Zastępuje RegistrationAttribute.Register(RegistrationContext)). |
![]() |
ToString | Returns a string that represents the current object. (Odziedziczone z Object). |
![]() |
Unregister | (Zastępuje RegistrationAttribute.Unregister(RegistrationContext)). |
Początek
Pola
Nazwa | Opis | |
---|---|---|
![]() ![]() |
DirectiveProcessorsKeyName | Nazwa klucza rejestru dla procesorów dyrektywy |
![]() ![]() |
TextTemplatingKeyName | Nazwa klucza rejestru głównego dla tekstu dynamicznego |
Początek
Jawne implementacje interfejsu
Nazwa | Opis | |
---|---|---|
![]() ![]() |
System#Runtime#InteropServices#_Attribute#GetIDsOfNames | Zestaw nazw jest mapowany na odpowiedni zestaw identyfikatorów wysyłania. (Odziedziczone z Attribute). |
![]() ![]() |
System#Runtime#InteropServices#_Attribute#GetTypeInfo | Pobiera informacje o typie dla obiektu, który można uzyskać informacji o typie dla interfejsu. (Odziedziczone z Attribute). |
![]() ![]() |
System#Runtime#InteropServices#_Attribute#GetTypeInfoCount | Pobiera informację o liczbie typów interfejsów, jakie zawiera obiekt (0 lub 1). (Odziedziczone z Attribute). |
![]() ![]() |
System#Runtime#InteropServices#_Attribute#Invoke | Umożliwia dostęp do właściwości i metod udostępnianych przez obiekt. (Odziedziczone z Attribute). |
Początek
Bezpieczeństwo wątku
Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.TextTemplating.VSHost