1 write to Conventions
Microsoft.AspNetCore.Mvc.Core (1)
MvcOptions.cs (1)
41Conventions = new List<IApplicationModelConvention>();
26 references to Conventions
ApiExplorerWebSite (4)
Startup.cs (4)
20options.Conventions.Add(new ApiExplorerVisibilityEnabledConvention()); 21options.Conventions.Add(new ApiExplorerVisibilityDisabledConvention( 23options.Conventions.Add(new ApiExplorerInboundOutboundConvention( 25options.Conventions.Add(new ApiExplorerRouteChangeConvention(wellKnownChangeToken));
ApplicationModelWebSite (5)
Startup.cs (5)
13options.Conventions.Add(new ApplicationDescription("Common Application Description")); 14options.Conventions.Add(new ControllerLicenseConvention()); 15options.Conventions.Add(new FromHeaderConvention()); 16options.Conventions.Add(new MultipleAreasControllerConvention()); 17options.Conventions.Add(new CloneActionConvention());
BasicWebSite (1)
StartupWithoutEndpointRouting.cs (1)
29options.Conventions.Add(new ApplicationDescription("This is a basic website."));
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\ApplicationModelFactory.cs (1)
30_conventions = options.Value.Conventions;
ApplicationModels\IApplicationModelConvention.cs (1)
10/// Implementations of this interface can be registered in <see cref="MvcOptions.Conventions"/>
DependencyInjection\ApplicationModelConventionExtensions.cs (1)
10/// Contains the extension methods for <see cref="AspNetCore.Mvc.MvcOptions.Conventions"/>.
Microsoft.AspNetCore.Mvc.Core.Test (11)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (3)
1151options.Value.Conventions.Add(applicationConvention.Object); 1172ApplicationModelConventions.ApplyConventions(applicationModel, options.Value.Conventions); 1368options.Value.Conventions.Add(convention);
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (8)
29options.Conventions.Add(new SimpleParameterConvention()); 32options.Conventions[0].Apply(app); 69options.Conventions.Add(new SimpleActionConvention()); 72options.Conventions[0].Apply(app); 128options.Conventions.Add(convention); 131ApplicationModelConventions.ApplyConventions(app, options.Conventions); 155options.Conventions.Add(new SimpleControllerConvention()); 158options.Conventions[0].Apply(app);
Mvc.RoutingWebSite (2)
Startup.cs (1)
105options.Conventions.Add(new ControllerRouteTokenTransformerConvention(
StartupRoutingDifferentBranches.cs (1)
80options.Conventions.Add(new ControllerRouteTokenTransformerConvention(