Redigera

Dela via


UseActivatorAttribute Class

Definition

When applied to a type, indicates that the type should be activated using a registered activator rather than via its constructor or another mechanism.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
public sealed class UseActivatorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)>]
type UseActivatorAttribute = class
    inherit Attribute
Public NotInheritable Class UseActivatorAttribute
Inherits Attribute
Inheritance
UseActivatorAttribute
Attributes

Constructors

UseActivatorAttribute()

Applies to