Exemplo n.º 1
0
        public void AfterReceiveReply(ref Message reply, object correlationState)
        {
            var dfeArgs = new DFeMessageEventArgs(MessageHelper.ToXml(ref reply));

            this.Log().Debug(dfeArgs.Message);
            AfterReceiveDFeReply.Raise(this, dfeArgs);
        }
Exemplo n.º 2
0
        public object BeforeSendRequest(ref Message request, IClientChannel channel)
        {
            var dfeArgs = new DFeMessageEventArgs(MessageHelper.ToXml(ref request));

            this.Log().Debug(dfeArgs.Message);
            BeforeSendDFeRequest.Raise(this, dfeArgs);
            return(null);
        }