Exemple #1
0
 /// <summary>
 /// The apply dispatch behavior.
 /// </summary>
 /// <param name="operationDescription">
 /// The operation description.
 /// </param>
 /// <param name="dispatchOperation">
 /// The dispatch operation.
 /// </param>
 void IOperationBehavior.ApplyDispatchBehavior(
     OperationDescription operationDescription, DispatchOperation dispatchOperation)
 {
     CyclicReferencesAwareContractBehavior.ReplaceDataContractSerializerOperationBehavior(
         operationDescription, this.On);
 }
Exemple #2
0
 /// <summary>
 /// The apply client behavior.
 /// </summary>
 /// <param name="operationDescription">
 /// The operation description.
 /// </param>
 /// <param name="clientOperation">
 /// The client operation.
 /// </param>
 void IOperationBehavior.ApplyClientBehavior(
     OperationDescription operationDescription, ClientOperation clientOperation)
 {
     CyclicReferencesAwareContractBehavior.ReplaceDataContractSerializerOperationBehavior(
         operationDescription, this.On);
 }