GeneratedActivatorConstructorAttribute Класс
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
При применении к конструктору указывает, что созданные реализации активатора должны использовать этот конструктор при активации экземпляров.
[System.AttributeUsage(System.AttributeTargets.Constructor)]
public sealed class GeneratedActivatorConstructorAttribute : Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute
[System.AttributeUsage(System.AttributeTargets.Constructor)]
public sealed class GeneratedActivatorConstructorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Constructor)>]
type GeneratedActivatorConstructorAttribute = class
inherit ActivatorUtilitiesConstructorAttribute
[<System.AttributeUsage(System.AttributeTargets.Constructor)>]
type GeneratedActivatorConstructorAttribute = class
inherit Attribute
Public NotInheritable Class GeneratedActivatorConstructorAttribute
Inherits ActivatorUtilitiesConstructorAttribute
Public NotInheritable Class GeneratedActivatorConstructorAttribute
Inherits Attribute
- Наследование
-
GeneratedActivatorConstructorAttribute
- Наследование
-
GeneratedActivatorConstructorAttribute
- Атрибуты
Комментарии
Этот атрибут можно использовать для вызова конструкторов, которым требуются внедренные зависимости.
Конструкторы
| Имя | Описание |
|---|---|
| GeneratedActivatorConstructorAttribute() |
Инициализирует новый экземпляр класса GeneratedActivatorConstructorAttribute. |