ActivatorProvider.GetActivator Method |
Gets an instance of a given class implementing the IActivator interface.
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public IActivator GetActivator( Type type )
Parameters
- type
- Type: System.Type
A type implementing the IActivator interface.
Return Value
Type: IActivatorAn instance of type type.