C# Класс Castle.Facilities.WcfIntegration.WindsorInstanceProvider

Initialize a service using Windsor
Наследование: IInstanceProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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