1 write to Conventions
Microsoft.AspNetCore.Mvc.Core (1)
MvcOptions.cs (1)
41
Conventions
= new List<IApplicationModelConvention>();
26 references to Conventions
ApiExplorerWebSite (4)
Startup.cs (4)
20
options.
Conventions
.Add(new ApiExplorerVisibilityEnabledConvention());
21
options.
Conventions
.Add(new ApiExplorerVisibilityDisabledConvention(
23
options.
Conventions
.Add(new ApiExplorerInboundOutboundConvention(
25
options.
Conventions
.Add(new ApiExplorerRouteChangeConvention(wellKnownChangeToken));
ApplicationModelWebSite (5)
Startup.cs (5)
13
options.
Conventions
.Add(new ApplicationDescription("Common Application Description"));
14
options.
Conventions
.Add(new ControllerLicenseConvention());
15
options.
Conventions
.Add(new FromHeaderConvention());
16
options.
Conventions
.Add(new MultipleAreasControllerConvention());
17
options.
Conventions
.Add(new CloneActionConvention());
BasicWebSite (1)
StartupWithoutEndpointRouting.cs (1)
29
options.
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)
1151
options.Value.
Conventions
.Add(applicationConvention.Object);
1172
ApplicationModelConventions.ApplyConventions(applicationModel, options.Value.
Conventions
);
1368
options.Value.
Conventions
.Add(convention);
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (8)
29
options.
Conventions
.Add(new SimpleParameterConvention());
32
options.
Conventions
[0].Apply(app);
69
options.
Conventions
.Add(new SimpleActionConvention());
72
options.
Conventions
[0].Apply(app);
128
options.
Conventions
.Add(convention);
131
ApplicationModelConventions.ApplyConventions(app, options.
Conventions
);
155
options.
Conventions
.Add(new SimpleControllerConvention());
158
options.
Conventions
[0].Apply(app);
Mvc.RoutingWebSite (2)
Startup.cs (1)
105
options.
Conventions
.Add(new ControllerRouteTokenTransformerConvention(
StartupRoutingDifferentBranches.cs (1)
80
options.
Conventions
.Add(new ControllerRouteTokenTransformerConvention(