PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Activator­Type­Attribute Class / Activator­Type­Attribute Constructor

ActivatorTypeAttribute Constructor

Initializes a new ActivatorTypeAttribute.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public ActivatorTypeAttribute(
	Type activatorType
)

Parameters

activatorType
Type: System.Type
A type derived from IActivator in the current assembly. This type must be public and have a default constructor.
See Also