Edit

Share via


RegisterActivatorAttribute Class

Definition

When applied to a type, indicates that the type is an activator and that it should be automatically registered.

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

Constructors

RegisterActivatorAttribute()

Applies to