36 references to AddViews
Microsoft.AspNetCore.Mvc (3)
MvcServiceCollectionExtensions.cs (3)
168
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/>,
201
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/>,
226
.
AddViews
()
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
AntiforgeryMiddlewareTest.cs (3)
58
builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestWithBothAttributesController)).
AddViews
();
72
builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestController)).
AddViews
();
142
builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestController)).
AddViews
();
Microsoft.AspNetCore.Mvc.Localization (22)
DependencyInjection\MvcLocalizationMvcBuilderExtensions.cs (8)
85
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
107
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
131
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
157
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
183
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
210
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
237
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
266
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
DependencyInjection\MvcLocalizationMvcCoreBuilderExtensions.cs (14)
23
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
41
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
50
builder.
AddViews
();
65
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
86
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
96
builder.
AddViews
();
110
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
132
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
156
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
182
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
208
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
235
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
262
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
291
/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.
AddViews
(IMvcCoreBuilder)"/> and the Razor view engine
Microsoft.AspNetCore.Mvc.Razor (2)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (2)
35
builder.
AddViews
();
54
builder.
AddViews
();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
83
AddViews
(builder);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs (5)
20
builder.
AddViews
();
98
builder.
AddViews
();
114
builder.
AddViews
();
129
builder.
AddViews
();
145
builder.
AddViews
();