/// <summary> /// Returns a <see cref="string"/> that represents this instance. /// </summary> /// <returns>A <see cref="string"/> representation of the instance.</returns> public override string ToString() { return(AsyncResult == null ? string.Empty : AsyncResult.ToString()); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns>A 32-bit signed integer hash code for this instance.</returns> /// <remarks>Suitable for use in hashing algorithms and also for data structures like a hash table.</remarks> /// <seealso cref="System.Object.GetHashCode"/> public override int GetHashCode() { return(AsyncResult == null ? 0 : AsyncResult.GetHashCode()); }