Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 832 Bytes

3.0.0_Microsoft.AspNetCore.Mvc.md

File metadata and controls

16 lines (15 loc) · 832 Bytes

Microsoft.AspNetCore.Mvc

 {
     namespace Microsoft.Extensions.DependencyInjection {
         public static class MvcServiceCollectionExtensions {
+            public static IMvcBuilder AddControllers(this IServiceCollection services);
+            public static IMvcBuilder AddControllers(this IServiceCollection services, Action<MvcOptions> configure);
+            public static IMvcBuilder AddControllersWithViews(this IServiceCollection services);
+            public static IMvcBuilder AddControllersWithViews(this IServiceCollection services, Action<MvcOptions> configure);
+            public static IMvcBuilder AddRazorPages(this IServiceCollection services);
+            public static IMvcBuilder AddRazorPages(this IServiceCollection services, Action<RazorPagesOptions> configure);
         }
     }
 }