/// <summary> /// Check if the result object contains a success with a specific condition /// </summary> public bool HasSuccess(Func <Success, bool> predicate) { return(ResultHelper.HasSuccess(Successes, predicate)); }
/// <summary> /// Check if the result object contains a success from a specific type and with a specific condition /// </summary> public bool HasSuccess <TSuccess>(Func <TSuccess, bool> predicate) where TSuccess : Success { return(ResultHelper.HasSuccess(Successes, predicate)); }