src/AspNetCore/Mvc/Mvc/src/ApplicationModels/ISelectedControllerModelConfigurationExtensions.cs
/// <summary>
/// Adds an <see cref="RouteTemplateConvention"/> instance to <see cref="MvcOptions"/> that operates on all action models independently
/// of application model and controller model.
/// </summary>
/// <param name="configuration"></param>
/// <param name="caseType"></param>
/// <param name="actionFilter"></param>
/// <returns></returns>
Adds an  instance to  that operates on all action models independently
of application model and controller model.
Adds an instance to that operates on all action models independently of application model and controller model .
public static ISelectedControllerModelConfiguration AddSelectorRouteTemplateConventionToSelectedController(this ISelectedControllerModelConfiguration configuration,
            CaseType caseType, IActionModelFilter? actionFilter = null)
        {
            var formatter = new RouteTemplateCaseFormatter(caseType);
            return AddSelectorRouteTemplateConventionToSelectedController(configuration, formatter, actionFilter: actionFilter);
        }
public static ISelectedControllerModelConfiguration AddSelectorRouteTemplateConventionToSelectedController ( this ISelectedControllerModelConfiguration configuration , CaseType caseType , IActionModelFilter ? actionFilter = null ) { var formatter = new RouteTemplateCaseFormatter ( caseType ) ; return AddSelectorRouteTemplateConventionToSelectedController ( configuration , formatter , actionFilter : actionFilter ) ; }
Adds an  instance to  that operates on all action models independently
of application model and controller model.
Adds an instance to that operates on all action models independently of application model and controller model .
None
ISelectedControllerModelConfiguration
this
caseType
CaseType
None
actionFilter
IActionModelFilter?
None
configuration
None