C# Class OpenResKit.ODataHost.DomainModelInstanceProvider

Inheritance: IInstanceProvider, IContractBehavior
Mostra file Open project: htw-bui/OrkHub Class Usage Examples

Public Methods

Method Description
AddBindingParameters ( ContractDescription contractDescription, ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
ApplyClientBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
ApplyDispatchBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime ) : void
GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object
GetInstance ( System.ServiceModel.InstanceContext instanceContext, Message message ) : object
ReleaseInstance ( System.ServiceModel.InstanceContext instanceContext, object instance ) : void
Validate ( ContractDescription contractDescription, ServiceEndpoint endpoint ) : void

Private Methods

Method Description
DomainModelInstanceProvider ( [ createService ) : System

Method Details

AddBindingParameters() public method

public AddBindingParameters ( ContractDescription contractDescription, ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
contractDescription System.ServiceModel.Description.ContractDescription
endpoint System.ServiceModel.Description.ServiceEndpoint
bindingParameters System.ServiceModel.Channels.BindingParameterCollection
return void

ApplyClientBehavior() public method

public ApplyClientBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
contractDescription System.ServiceModel.Description.ContractDescription
endpoint System.ServiceModel.Description.ServiceEndpoint
clientRuntime System.ServiceModel.Dispatcher.ClientRuntime
return void

ApplyDispatchBehavior() public method

public ApplyDispatchBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime ) : void
contractDescription System.ServiceModel.Description.ContractDescription
endpoint System.ServiceModel.Description.ServiceEndpoint
dispatchRuntime System.ServiceModel.Dispatcher.DispatchRuntime
return void

GetInstance() public method

public GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object
instanceContext System.ServiceModel.InstanceContext
return object

GetInstance() public method

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

ReleaseInstance() public method

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

Validate() public method

public Validate ( ContractDescription contractDescription, ServiceEndpoint endpoint ) : void
contractDescription System.ServiceModel.Description.ContractDescription
endpoint System.ServiceModel.Description.ServiceEndpoint
return void