/// <summary>
 /// Provides a safe way to invoke the <see cref="EchoReceived" /> event.
 /// </summary>
 /// <param name="value"></param>
 public void RaiseEchoReceived(EchoResponse value) => EchoReceived?.Invoke(this, value);
示例#2
0
 private void OnEchoReceived()
 {
     EchoReceived?.Invoke(this, EventArgs.Empty);
 }