C# Class CustContractBehaviorAttribute, code

Inheritance: Attribute, IContractBehavior, IContractBehaviorAttribute
Show file Open project: shendongnian/code

Public Methods

Method Description
AddBindingParameters ( ContractDescription, contractDescription, ServiceEndpoint endpoint, BindingParameterCollection bindingParameters ) : void
ApplyClientBehavior ( ContractDescription, contractDescription, ServiceEndpoint endpoint, ClientRuntime, clientRuntime ) : void
ApplyDispatchBehavior ( ContractDescription, contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime ) : void
Validate ( ContractDescription, contractDescription, ServiceEndpoint endpoint ) : void

Method Details

AddBindingParameters() public method

public AddBindingParameters ( ContractDescription, contractDescription, ServiceEndpoint endpoint, BindingParameterCollection bindingParameters ) : void
contractDescription ContractDescription,
endpoint ServiceEndpoint
bindingParameters BindingParameterCollection
return void

ApplyClientBehavior() public method

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

ApplyDispatchBehavior() public method

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

Validate() public method

public Validate ( ContractDescription, contractDescription, ServiceEndpoint endpoint ) : void
contractDescription ContractDescription,
endpoint ServiceEndpoint
return void