C# 클래스 Castle.Facilities.WcfIntegration.WindsorInstanceProvider

Initialize a service using Windsor
상속: IInstanceProvider
파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object

Returns a service object given the specified object.

GetInstance ( System.ServiceModel.InstanceContext instanceContext, Message message ) : object

Returns a service object given the specified object.

ReleaseInstance ( System.ServiceModel.InstanceContext instanceContext, object instance ) : void

Called when an object recycles a service object.

WindsorInstanceProvider ( IKernel kernel, ComponentModel model, Type contractType, Type serviceType ) : System

Initializes a new instance of the T:Castle.Facilities.WcfIntegration.WindsorInstanceProvider class.

메소드 상세

GetInstance() 공개 메소드

Returns a service object given the specified object.
public GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object
instanceContext System.ServiceModel.InstanceContext The current object.
리턴 object

GetInstance() 공개 메소드

Returns a service object given the specified object.
public GetInstance ( System.ServiceModel.InstanceContext instanceContext, Message message ) : object
instanceContext System.ServiceModel.InstanceContext The current object.
message Message The message that triggered the creation of a service object.
리턴 object

ReleaseInstance() 공개 메소드

Called when an object recycles a service object.
public ReleaseInstance ( System.ServiceModel.InstanceContext instanceContext, object instance ) : void
instanceContext System.ServiceModel.InstanceContext The service's instance context.
instance object The service object to be recycled.
리턴 void

WindsorInstanceProvider() 공개 메소드

Initializes a new instance of the T:Castle.Facilities.WcfIntegration.WindsorInstanceProvider class.
public WindsorInstanceProvider ( IKernel kernel, ComponentModel model, Type contractType, Type serviceType ) : System
kernel IKernel
model Castle.Core.ComponentModel
contractType System.Type
serviceType System.Type
리턴 System