Constable Authorization Engine 2.0 BETA

IPolicyLoaderTypeResolver.CreateInstance Method 

[This is preliminary documentation and subject to change.]

The implementation should create an instance of a type described by the context argument.

[Visual Basic]
Function CreateInstance( _
   ByVal context As IPolicyLoaderContext _
) As Object
[C#]
object CreateInstance(
   IPolicyLoaderContext context
);

Parameters

context
The loader context.

Return Value

A reference to a new object created using the context information.

Remarks

Implementations typically use the AssemblyQualifiedTypeName property value to locate the desired object's type and the ConstructorArgumentTypes and ConstructorArgumentValues to invoke the type's constructor using reflection.

See Also

IPolicyLoaderTypeResolver Interface | LaMarvin.Constable.Design Namespace