You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.Mvc.Versioning/Microsoft.Extensions.DependencyInjection/IApplicationBuilderExtensions.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.Mvc.Versioning/Microsoft.Extensions.DependencyInjection/IServiceCollectionExtensions.cs
+27-13Lines changed: 27 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@
5
5
usingAspNetCore.Mvc.Routing;
6
6
usingAspNetCore.Mvc.Versioning;
7
7
usingExtensions;
8
+
usingMicrosoft.AspNetCore.Builder;
9
+
usingMicrosoft.AspNetCore.Hosting;
8
10
usingOptions;
9
11
usingSystem;
10
12
usingSystem.Diagnostics.Contracts;
@@ -43,26 +45,38 @@ public static IServiceCollection AddApiVersioning( this IServiceCollection servi
Copy file name to clipboardExpand all lines: test/Microsoft.AspNetCore.Mvc.Versioning.Tests/Microsoft.Extensions.DependencyInjection/IServiceCollectionExtensionsTest.cs
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,7 @@ public void add_api_versioning_should_configure_mvc_with_custom_options()
0 commit comments