예제 #1
0
        public void ApplyDispatchBehavior(OperationDescription description,
                                          DispatchOperation dispatch)
        {
            _curBehavior = new CustomDataContractSerializerOperationBehavior(description);
            IOperationBehavior innerBehavior = _curBehavior;

            innerBehavior.ApplyDispatchBehavior(description, dispatch);
        }
예제 #2
0
        public void ApplyClientBehavior(OperationDescription description,
                                        ClientOperation proxy)
        {
            _curBehavior = new CustomDataContractSerializerOperationBehavior(description);
            IOperationBehavior innerBehavior = _curBehavior;

            innerBehavior.ApplyClientBehavior(description, proxy);
        }