PostSharp.ILAPI ReferencePost­Sharp.​SerializationActivator­ProviderGet­Activator
Open sandboxFocus

ActivatorProvider.GetActivator Method

GetActivator(Type)

Gets an instance of a given class implementing the IActivator interface.

Declaration
public IActivator GetActivator(Type type)
Parameters
Type Name Description
Type type

A type implementing the IActivator interface.

Returns
Type Description
IActivator

An instance of type type.