Open sandboxFocus

Constructor InstantiateTypeAdviceInstance

InstantiateTypeAdviceInstance(Type)

Initializes a new instance of the InstantiateTypeAdviceInstance class.

Declaration
public InstantiateTypeAdviceInstance(Type type)
Parameters
Type Name Description
Type type

The type to instantiate. It must be a class with a parameterless constructor, or a structure, and it must not contain generic parameters.