public object AfterReceiveRequest(ref Message request, IClientChannel channel, InstanceContext instanceContext)
        {
            ServiceContext context = ServiceContextHelper.Get(request.Headers);

            OnReceiving(context, request.Headers);
            return(context);
        }
 public object BeforeSendRequest(ref Message request, IClientChannel channel)
 {
     ServiceContextHelper.Add(request.Headers, Context);
     OnAddHeaders(request.Headers);
     OnSending(request.Headers);
     return(null);
 }