C# Class _01.ReplaceSerializer.Proto

Inheritance: System.Attribute, IDispatchMessageFormatter, IOperationBehavior
ファイルを表示 Open project: donatasm/WCF-Performance-Tuning

Public Properties

Property Type Description
Action string
MessageVersion System.ServiceModel.Channels.MessageVersion

Public Methods

Method Description
AddBindingParameters ( OperationDescription operationDescription, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
ApplyClientBehavior ( OperationDescription operationDescription, System.ServiceModel.Dispatcher.ClientOperation clientOperation ) : void
ApplyDispatchBehavior ( OperationDescription operationDescription, System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation ) : void
DeserializeRequest ( Message message, object parameters ) : void
SerializeReply ( System.ServiceModel.Channels.MessageVersion messageVersion, object parameters, object result ) : Message
Validate ( OperationDescription operationDescription ) : void

Private Methods

Method Description
Deserialize ( Message message ) : object
EmptyMessage ( ) : Message
Serialize ( object obj ) : Message

Method Details

AddBindingParameters() public method

public AddBindingParameters ( OperationDescription operationDescription, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
operationDescription System.ServiceModel.Description.OperationDescription
bindingParameters System.ServiceModel.Channels.BindingParameterCollection
return void

ApplyClientBehavior() public method

public ApplyClientBehavior ( OperationDescription operationDescription, System.ServiceModel.Dispatcher.ClientOperation clientOperation ) : void
operationDescription System.ServiceModel.Description.OperationDescription
clientOperation System.ServiceModel.Dispatcher.ClientOperation
return void

ApplyDispatchBehavior() public method

public ApplyDispatchBehavior ( OperationDescription operationDescription, System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation ) : void
operationDescription System.ServiceModel.Description.OperationDescription
dispatchOperation System.ServiceModel.Dispatcher.DispatchOperation
return void

DeserializeRequest() public method

public DeserializeRequest ( Message message, object parameters ) : void
message Message
parameters object
return void

SerializeReply() public method

public SerializeReply ( System.ServiceModel.Channels.MessageVersion messageVersion, object parameters, object result ) : Message
messageVersion System.ServiceModel.Channels.MessageVersion
parameters object
result object
return Message

Validate() public method

public Validate ( OperationDescription operationDescription ) : void
operationDescription System.ServiceModel.Description.OperationDescription
return void

Property Details

Action public_oe static_oe property

public static string Action
return string

MessageVersion public_oe static_oe property

public static MessageVersion,System.ServiceModel.Channels MessageVersion
return System.ServiceModel.Channels.MessageVersion