C# 클래스 WhippedCream.DataServiceDataLayer.DataServiceDependencyInstanceProvider

Whipped Cream uses this object so it can use Dependency Injection when creating instances of services hosts.
상속: IInstanceProvider
파일 보기 프로젝트 열기: KCL5South/WhippedCream 1 사용 예제들

공개 메소드들

메소드 설명
DataServiceDependencyInstanceProvider ( IUnityContainer container, Type serviceType ) : System

Constructor.

IInstanceProvider ( System instanceContext, object instance ) : void

비공개 메소드들

메소드 설명
IInstanceProvider ( System instanceContext ) : object
IInstanceProvider ( System instanceContext, System message ) : object

메소드 상세

DataServiceDependencyInstanceProvider() 공개 메소드

Constructor.
Thrown if or are null.
public DataServiceDependencyInstanceProvider ( IUnityContainer container, Type serviceType ) : System
container IUnityContainer The IOC container to use for dependency injection.
serviceType System.Type The type of host to create.
리턴 System

IInstanceProvider() 공개 메소드

public IInstanceProvider ( System instanceContext, object instance ) : void
instanceContext System
instance object
리턴 void