示例#1
0
 /// <summary>
 /// Sets general failed operation result.
 /// </summary>
 /// <returns>General failure result.</returns>
 public static new OperationResult <T> Fail()
 {
     return(OperationResult <T> .Fail(-1, "General error"));
 }
示例#2
0
 /// <summary>
 /// Sets general failed operation result.
 /// </summary>
 /// <returns>Failed operation result.</returns>
 public static OperationResult Fail()
 {
     return(OperationResult.Fail(-1, "General error"));
 }