Example #1
0
 public static IRequestBuilder ReturnsFile(this IRequestBuilder builder)
 {
     return(builder.Returns(RequestReturn.File()));
 }
Example #2
0
 public static IRequestBuilder Returns(this IRequestBuilder builder, Type returnedType)
 {
     return(builder.Returns(RequestReturn.Object(returnedType)));
 }
Example #3
0
 public static IRequestBuilder ReturnsFile(this IRequestBuilder builder, string contentType)
 {
     return(builder.Returns(RequestReturn.File(contentType)));
 }
Example #4
0
 public static IRequestBuilder Returns <T>(this IRequestBuilder builder)
 {
     return(builder.Returns(RequestReturn.Object(typeof(T))));
 }