Пример #1
0
 protected virtual void OnResponseReceived(ResponseReceivedEventArgs e)
 {
     EventHandler<ResponseReceivedEventArgs> handle = ResponseReceived;
     if (handle != null)
         handle(this, e);
 }
Пример #2
0
 // ReSharper disable UnusedMember.Local
 private void InvokeResponseReceived(ResponseReceivedEventArgs e)
 {
     EventHandler<ResponseReceivedEventArgs> received = ResponseReceived;
     if (received != null) received(this, e);
 }