public void ApplyDispatchBehavior(OperationDescription operationDescription, DispatchOperation dispatchOperation) { IOperationBehavior operationBehavior = new ReferencePreservingOperationBehavior(operationDescription); operationBehavior.ApplyDispatchBehavior(operationDescription, dispatchOperation); }
public void ApplyClientBehavior(OperationDescription operationDescription, ClientOperation clientOperation) { IOperationBehavior operationBehavior = new ReferencePreservingOperationBehavior(operationDescription); operationBehavior.ApplyClientBehavior(operationDescription, clientOperation); }