Example #1
0
 public static QueryResult <TResult> WithError(Failure error, bool retry = false)
 {
     return(new QueryResult <TResult>(error, retry));
 }
Example #2
0
 public QueryResult(Failure error, bool retry = false)
     : base(error, retry)
 {
 }
Example #3
0
 public Result(Failure error, bool retry = false)
     : this(new List <Failure> {
     error
 }, retry)
 {
 }