コード例 #1
0
 /// <summary>
 /// Allows to perform checks on the result value.
 /// </summary>
 /// <typeparam name="T">Type of the code result. Should be inferred.</typeparam>
 /// <param name="check">The fluent check to be extended.</param>
 /// <returns>A check object for the result.</returns>
 public static ICheck <T> WhichResult <T>(this ICodeCheck <RunTraceResult <T> > check)
 {
     return(ExtensibilityHelper.BuildCheck(check, sut => sut.Result));
 }