Exemplo n.º 1
0
        public void ApplyDispatchBehavior(OperationDescription description,
                                          DispatchOperation dispatch)
        {
            _curBehavior = new CustomDataContractSerializerOperationBehavior(description);
            IOperationBehavior innerBehavior = _curBehavior;

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

            innerBehavior.ApplyClientBehavior(description, proxy);
        }