C# Class Thinktecture.ServiceModel.Description.PrefixDataContractSerializerFormatAttribute

Inheritance: System.Attribute, IContractBehavior
Mostra file Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
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.

Validate ( ContractDescription contractDescription, ServiceEndpoint endpoint ) : void

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

Private Methods

Method Description
InjectSerializer ( OperationDescription description, RegisterNamespacePrefixAttribute attributes ) : void
InjectSerializerWithPrefixes ( ContractDescription contractDescription ) : void

Method Details

AddBindingParameters() public method

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.
return void

ApplyClientBehavior() public method

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.
return void

ApplyDispatchBehavior() public method

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.
return void

Validate() public method

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.
return void