/// <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")); }
/// <summary> /// Sets general failed operation result. /// </summary> /// <returns>Failed operation result.</returns> public static OperationResult Fail() { return(OperationResult.Fail(-1, "General error")); }