RegistratorAttribute - класс

Атрибут, указывающий метаданные объекта регистратора, на основании которых будет выполняться регистрация расширений и зависимостей в Unity.

Definition

Пространство имён: Tessa.Extensions
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false)]
public sealed class RegistratorAttribute : Attribute, 
	IRegistratorMetadata, IExtensionOrderable
Inheritance
Object    Attribute    RegistratorAttribute
Implements
IExtensionOrderable, IRegistratorMetadata

Заметки

Атрибут должен использоваться на классе, реализующем интерфейс IRegistrator.

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

RegistratorAttribute Атрибут, указывающий метаданные объекта регистратора, на основании которых будет выполняться регистрация расширений и зависимостей в Unity.

Свойства

Description Описание регистратора. Не используется платформой, но может предоставляться в информативных целях.
Order Порядок выполнения регистратора внутри этапа Stage.
Stage Этап выполнения регистратора в цепочке регистрации.
Tag Флаговое перечисление с тегами регистратора, которые ограничивают область его использования для определённых типов приложений. По умолчанию используются теги GroupForDefault.
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Унаследован от Attribute)

Методы

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Унаследован от Attribute)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeReturns the hash code for this instance.
(Унаследован от Attribute)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Унаследован от Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Унаследован от Attribute)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также