C# 클래스 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.
파일 보기 프로젝트 열기: daszat/zetbox

공개 메소드들

메소드 설명
FactoryImpl ( IInterfaceTypeChecker typeChecker ) : System
Invoke ( Type type ) : InterfaceType

메소드 상세

FactoryImpl() 공개 메소드

public FactoryImpl ( IInterfaceTypeChecker typeChecker ) : System
typeChecker IInterfaceTypeChecker
리턴 System

Invoke() 공개 메소드

public Invoke ( Type type ) : InterfaceType
type System.Type
리턴 InterfaceType