GeneratedActivatorConstructorAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When applied to a constructor, indicates that generated activator implementations should use that constructor when activating instances.
[System.AttributeUsage(System.AttributeTargets.Constructor)]
public sealed class GeneratedActivatorConstructorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Constructor)>]
type GeneratedActivatorConstructorAttribute = class
inherit Attribute
Public NotInheritable Class GeneratedActivatorConstructorAttribute
Inherits Attribute
- Inheritance
-
GeneratedActivatorConstructorAttribute
- Attributes
Remarks
This attribute can be used to call constructors which require injected dependencies.
Constructors
GeneratedActivatorConstructorAttribute() |
Initializes a new instance of the GeneratedActivatorConstructorAttribute class. |