PostSharp//API Reference/Post­Sharp.​Serialization/IActivator
Open sandboxFocus

Interface IActivator

Exposes a method CreateInstance(Type, ActivatorSecurityToken), which allows to create an instance of a type using the Activator facility.

Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public interface IActivator

Methods

Name Description
CreateInstance(Type, ActivatorSecurityToken)

Creates an instance of a give type.