C# 클래스 Griffin.Container.Wcf.ServiceLocationContractBehavior

Add the service location behaviour to a contract (service)
Adds the context initializer as dispatch behaviour to be able to create/dispose child containers.
상속: IContractBehavior
파일 보기 프로젝트 열기: jgauffin/Griffin.Container 1 사용 예제들

공개 메소드들

메소드 설명
AddBindingParameters ( ContractDescription contractDescription, ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void

Configures any binding elements to support the contract behavior.

ApplyClientBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void

Implements a modification or extension of the client across a contract.

ApplyDispatchBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime ) : void

Implements a modification or extension of the client across a contract.

ServiceLocationContractBehavior ( IInstanceProvider instanceProvider ) : System

Initializes a new instance of the ServiceLocationContractBehavior class.

Validate ( ContractDescription contractDescription, ServiceEndpoint endpoint ) : void

Implement to confirm that the contract and endpoint can support the contract behavior.

메소드 상세

AddBindingParameters() 공개 메소드

Configures any binding elements to support the contract behavior.
public AddBindingParameters ( ContractDescription contractDescription, ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
contractDescription System.ServiceModel.Description.ContractDescription The contract description to modify.
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint to modify.
bindingParameters System.ServiceModel.Channels.BindingParameterCollection The objects that binding elements require to support the behavior.
리턴 void

ApplyClientBehavior() 공개 메소드

Implements a modification or extension of the client across a contract.
public ApplyClientBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
contractDescription System.ServiceModel.Description.ContractDescription The contract description for which the extension is intended.
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint.
clientRuntime System.ServiceModel.Dispatcher.ClientRuntime The client runtime.
리턴 void

ApplyDispatchBehavior() 공개 메소드

Implements a modification or extension of the client across a contract.
public ApplyDispatchBehavior ( ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime ) : void
contractDescription System.ServiceModel.Description.ContractDescription The contract description to be modified.
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint that exposes the contract.
dispatchRuntime System.ServiceModel.Dispatcher.DispatchRuntime The dispatch runtime that controls service execution.
리턴 void

ServiceLocationContractBehavior() 공개 메소드

Initializes a new instance of the ServiceLocationContractBehavior class.
public ServiceLocationContractBehavior ( IInstanceProvider instanceProvider ) : System
instanceProvider IInstanceProvider The instance provider.
리턴 System

Validate() 공개 메소드

Implement to confirm that the contract and endpoint can support the contract behavior.
public Validate ( ContractDescription contractDescription, ServiceEndpoint endpoint ) : void
contractDescription System.ServiceModel.Description.ContractDescription The contract to validate.
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint to validate.
리턴 void