Пример #1
0
 public void ApplyDispatchBehavior(OperationDescription description,
     DispatchOperation dispatch)
 {
     IOperationBehavior innerBehavior =
       new ReferencePreservingDataContractSerializerOperationBehavior(description);
     innerBehavior.ApplyDispatchBehavior(description, dispatch);
 }
Пример #2
0
 public void ApplyClientBehavior(OperationDescription description,
     ClientOperation proxy)
 {
     IOperationBehavior innerBehavior =
       new ReferencePreservingDataContractSerializerOperationBehavior(description);
     innerBehavior.ApplyClientBehavior(description, proxy);
 }