C# Class Zetbox.API.InterfaceType.FactoryImpl

Small helper to avoid autofac accesses.
This is used by the proxy, where off-thread accesses may deadlock on autofac when a query is run from within an autofac resolution on the main thread. Also, this is a basic operation that does not profit from the Autofac lifecycle management. Removing this from Autofac should help in reducing the overhead.
Datei anzeigen Open project: daszat/zetbox

Public Methods

Method Description
FactoryImpl ( IInterfaceTypeChecker typeChecker ) : System
Invoke ( Type type ) : InterfaceType

Method Details

FactoryImpl() public method

public FactoryImpl ( IInterfaceTypeChecker typeChecker ) : System
typeChecker IInterfaceTypeChecker
return System

Invoke() public method

public Invoke ( Type type ) : InterfaceType
type System.Type
return InterfaceType