src/AspNetCore/Mvc/Mvc/src/ApplicationModels/ISelectedControllerModelConfigurationExtensions.cs
/// <summary>
/// Adds an <see cref="SelectorRouteTemplateApplicableConvention"/> instance to <see cref="MvcOptions"/> that only operates on controller model with controller
/// on <see cref="ISelectedControllerModelConfiguration.SelectedControllerType"/> of <paramref name="configuration"/>.
/// </summary>
/// <param name="configuration"></param>
/// <param name="caseType"></param>
/// <param name="addConvention"></param>
/// <returns></returns>
Adds an  instance to  that only operates on controller model with controller
on  of .
Adds an instance to that only operates on controller model with controller on of .
public static ISelectedControllerModelConfiguration AddSelectorRouteTemplateConventionToSelectedController(this ISelectedControllerModelConfiguration configuration, CaseType caseType,
            Action<ISelectedControllerModelConfiguration, SelectorRouteTemplateApplicableConvention> addConvention)
        {
            var formatter = new RouteTemplateCaseFormatter(caseType);
            return AddSelectorRouteTemplateConventionToSelectedController(configuration, formatter, addConvention);
        }
public static ISelectedControllerModelConfiguration AddSelectorRouteTemplateConventionToSelectedController ( this ISelectedControllerModelConfiguration configuration , CaseType caseType , Action < ISelectedControllerModelConfiguration , SelectorRouteTemplateApplicableConvention > addConvention ) { var formatter = new RouteTemplateCaseFormatter ( caseType ) ; return AddSelectorRouteTemplateConventionToSelectedController ( configuration , formatter , addConvention ) ; }
Adds an  instance to  that only operates on controller model with controller
on  of .
Adds an instance to that only operates on controller model with controller on of .
None
ISelectedControllerModelConfiguration
this
caseType
CaseType
None
addConvention
Action<ISelectedControllerModelConfiguration, SelectorRouteTemplateApplicableConvention>
None
configuration
None