Skip to content

Commit bf0e4b0

Browse files
committed
Added documentation summary for the IsUsing method in MyWebApi (#139)
1 parent 8fd0b3f commit bf0e4b0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/MyWebApi/MyWebApi.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ namespace MyWebApi
2727
/// </summary>
2828
public static class MyWebApi
2929
{
30+
internal static HttpConfiguration Configuration { get; private set; }
31+
32+
/// <summary>
33+
/// Sets the HttpConfiguration which will be used in all tests.
34+
/// </summary>
35+
/// <param name="httpConfiguration">HttpConfiguration instance used in the testing.</param>
3036
public static void IsUsing(HttpConfiguration httpConfiguration)
3137
{
3238
Configuration = httpConfiguration;
@@ -68,7 +74,5 @@ public static IControllerBuilder<TController> Controller<TController>(Func<TCont
6874
var controllerInstance = construction();
6975
return new ControllerBuilder<TController>(controllerInstance);
7076
}
71-
72-
internal static HttpConfiguration Configuration { get; private set; }
7377
}
7478
}

0 commit comments

Comments
 (0)