예제 #1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Delay != null ? Delay.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ DropConnection.GetHashCode();
         hashCode = (hashCode * 397) ^ (ResponseBytes != null ? ResponseBytes.GetHashCode() : 0);
         return(hashCode);
     }
 }
예제 #2
0
 protected virtual void OnDropConnection(object sender, Request e)
 {
     this.Request = null;
     DropConnection?.Invoke(sender, e);
 }