MvcCoreServiceCollectionExtensions Class¶
Methods¶
-
AddMinimalMvc
(IServiceCollection)¶ Arguments: - services (IServiceCollection) –
Return type: IServiceCollection
public static IServiceCollection AddMinimalMvc(IServiceCollection services)
-
ConfigureMvc
(IServiceCollection, System.Action<Microsoft.AspNet.Mvc.MvcOptions>)¶ Configures a set of [Microsoft.AspNet.Mvc.MvcOptions](Microsoft.AspNet.Mvc.MvcOptions.yml) for the application.
Arguments: - services (IServiceCollection) – The services available in the application.
- setupAction (System.Action{Microsoft.AspNet.Mvc.MvcOptions}) – The [Microsoft.AspNet.Mvc.MvcOptions](Microsoft.AspNet.Mvc.MvcOptions.yml) which need to be configured.
public static void ConfigureMvc(IServiceCollection services, Action<MvcOptions> setupAction)
-