Exemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="FunqResult{T}"/> with the IsSuccessful property set to true.
 /// </summary>
 /// <typeparam name="T">The type of the underlying Result property</typeparam>
 /// <param name="funqResultResult">An existing FunqResult to pass along</param>
 /// <param name="message">Optional message that is saved to the Message property on the <see cref="FunqResult{T}"/></param>
 public static FunqResult <T> KeepGroovin <T>(FunqResult <T> funqResultResult, string message = null)
 {
     return(new FunqResult <T>(funqResultResult.Result, true, message));
 }