Exemplo n.º 1
0
 /// <inheritdoc />
 public override string ToString()
 {
     return($"Promise<{TypeNameOfAsync?.ToString() ?? "void"}>");
 }
Exemplo n.º 2
0
 /// <summary>Serves as the default hash function.</summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     return(TypeNameOfAsync != null ? TypeNameOfAsync.GetHashCode() : 0);
 }