2 implementations of IMvcCoreBuilder
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\MvcCoreBuilder.cs (1)
11internal sealed class MvcCoreBuilder : IMvcCoreBuilder
Microsoft.AspNetCore.Mvc.Localization.Test (1)
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
130private class TestMvcCoreBuilder : IMvcCoreBuilder
340 references to IMvcCoreBuilder
Microsoft.AspNetCore.Mvc (46)
MvcServiceCollectionExtensions.cs (46)
67/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>, 68/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>, 69/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>, 70/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>, 71/// and <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>. 87var builder = AddControllersCore(services); 102/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>, 103/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>, 104/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>, 105/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>, 106/// and <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>. 123var builder = AddControllersCore(services); 132private static IMvcCoreBuilder AddControllersCore(IServiceCollection services) 135var builder = services 162/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>, 163/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>, 164/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>, 165/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>, 166/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>, 167/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>, 168/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/>, 169/// and <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 180var builder = AddControllersWithViewsCore(services); 195/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>, 196/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>, 197/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>, 198/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>, 199/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>, 200/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>, 201/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/>, 202/// and <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 214var builder = AddControllersWithViewsCore(services); 223private static IMvcCoreBuilder AddControllersWithViewsCore(IServiceCollection services) 225var builder = AddControllersCore(services) 244/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>, 245/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>, 246/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>, 247/// and <see cref="MvcRazorPagesMvcCoreBuilderExtensions.AddRazorPages(IMvcCoreBuilder)"/>. 261var builder = AddRazorPagesCore(services); 275/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>, 276/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>, 277/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>, 278/// and <see cref="MvcRazorPagesMvcCoreBuilderExtensions.AddRazorPages(IMvcCoreBuilder)"/>. 292var builder = AddRazorPagesCore(services); 301private static IMvcCoreBuilder AddRazorPagesCore(IServiceCollection services) 305var builder = services
Microsoft.AspNetCore.Mvc.ApiExplorer (6)
DependencyInjection\MvcApiExplorerMvcCoreBuilderExtensions.cs (6)
13/// Extensions for configuring ApiExplorer using an <see cref="IMvcCoreBuilder"/>. 18/// Configures <see cref="IMvcCoreBuilder"/> to use ApiExplorer. 20/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 21/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 23public static IMvcCoreBuilder AddApiExplorer(this IMvcCoreBuilder builder)
Microsoft.AspNetCore.Mvc.Core (53)
Controllers\ControllerFeature.cs (1)
13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (42)
18/// Extensions for configuring MVC using an <see cref="IMvcCoreBuilder"/>. 25/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 27/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 28public static IMvcCoreBuilder AddMvcOptions( 29this IMvcCoreBuilder builder, 45public static IMvcCoreBuilder AddJsonOptions( 46this IMvcCoreBuilder builder, 61public static IMvcCoreBuilder AddFormatterMappings(this IMvcCoreBuilder builder) 70/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 73public static IMvcCoreBuilder AddFormatterMappings( 74this IMvcCoreBuilder builder, 96/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 97/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 98public static IMvcCoreBuilder AddAuthorization(this IMvcCoreBuilder builder) 107/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 109/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 110public static IMvcCoreBuilder AddAuthorization( 111this IMvcCoreBuilder builder, 137/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 138/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 139public static IMvcCoreBuilder AddControllersAsServices(this IMvcCoreBuilder builder) 156/// <see cref="IMvcCoreBuilder.PartManager"/>. 158/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 160/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 161public static IMvcCoreBuilder AddApplicationPart(this IMvcCoreBuilder builder, Assembly assembly) 179/// Configures the <see cref="ApplicationPartManager"/> of the <see cref="IMvcCoreBuilder.PartManager"/> using 182/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 184/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 185public static IMvcCoreBuilder ConfigureApplicationPartManager( 186this IMvcCoreBuilder builder, 200/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 202/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 203public static IMvcCoreBuilder ConfigureApiBehaviorOptions( 204this IMvcCoreBuilder builder, 218/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 220/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 224public static IMvcCoreBuilder SetCompatibilityVersion(this IMvcCoreBuilder builder, CompatibilityVersion version)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (9)
34/// <see cref="IMvcCoreBuilder"/> returned from this method. 37/// <returns>An <see cref="IMvcCoreBuilder"/> that can be used to further configure the MVC services.</returns> 45/// <see cref="IMvcCoreBuilder"/> will be required. 47public static IMvcCoreBuilder AddMvcCore(this IServiceCollection services) 101/// <see cref="IMvcCoreBuilder"/> returned from this method. 105/// <returns>An <see cref="IMvcCoreBuilder"/> that can be used to further configure the MVC services.</returns> 113/// <see cref="IMvcCoreBuilder"/> will be required. 115public static IMvcCoreBuilder AddMvcCore( 122var builder = services.AddMvcCore();
Infrastructure\MvcCompatibilityOptions.cs (1)
16/// or <see cref="MvcCoreMvcCoreBuilderExtensions.SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion)"/>.
Microsoft.AspNetCore.Mvc.Core.Test (5)
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (5)
117var builder = services.AddMvcCore(); 139var builder = services.AddMvcCore(); 156var builder = services.AddMvcCore(); 180var builder = services.AddMvcCore(); 202var builder = services.AddMvcCore();
Microsoft.AspNetCore.Mvc.Cors (15)
DependencyInjection\MvcCorsMvcCoreBuilderExtensions.cs (15)
12/// Extensions for configuring CORS using an <see cref="IMvcCoreBuilder"/>. 17/// Configures <see cref="IMvcCoreBuilder"/> to use CORS. 19/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 20/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 21public static IMvcCoreBuilder AddCors(this IMvcCoreBuilder builder) 30/// Configures <see cref="IMvcCoreBuilder"/> to use CORS. 32/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 34/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 35public static IMvcCoreBuilder AddCors( 36this IMvcCoreBuilder builder, 51/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 53/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 54public static IMvcCoreBuilder ConfigureCors( 55this IMvcCoreBuilder builder,
Microsoft.AspNetCore.Mvc.DataAnnotations (8)
DependencyInjection\MvcDataAnnotationsMvcCoreBuilderExtensions.cs (8)
21public static IMvcCoreBuilder AddDataAnnotations(this IMvcCoreBuilder builder) 32/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 33/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 34public static IMvcCoreBuilder AddDataAnnotationsLocalization(this IMvcCoreBuilder builder) 48public static IMvcCoreBuilder AddDataAnnotationsLocalization( 49this IMvcCoreBuilder builder,
Microsoft.AspNetCore.Mvc.Formatters.Xml (20)
DependencyInjection\MvcXmlMvcCoreBuilderExtensions.cs (20)
19/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 21/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 22public static IMvcCoreBuilder AddXmlOptions( 23this IMvcCoreBuilder builder, 36/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 37/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 38public static IMvcCoreBuilder AddXmlDataContractSerializerFormatters(this IMvcCoreBuilder builder) 49/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 51/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 52public static IMvcCoreBuilder AddXmlDataContractSerializerFormatters( 53this IMvcCoreBuilder builder, 67/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 68/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 69public static IMvcCoreBuilder AddXmlSerializerFormatters(this IMvcCoreBuilder builder) 80/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 82/// /// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 83public static IMvcCoreBuilder AddXmlSerializerFormatters( 84this IMvcCoreBuilder builder,
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
AntiforgeryMiddlewareTest.cs (2)
278internal static IMvcCoreBuilder UseSpecificControllers( 279this IMvcCoreBuilder mvcCoreBuilder,
Microsoft.AspNetCore.Mvc.Localization (88)
DependencyInjection\MvcLocalizationMvcBuilderExtensions.cs (16)
85/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 86/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 107/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 108/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 131/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 132/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 157/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 158/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 183/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 184/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 210/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 211/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 237/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 238/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 266/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 267/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
DependencyInjection\MvcLocalizationMvcCoreBuilderExtensions.cs (72)
19/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 20/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 23/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 24/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 26public static IMvcCoreBuilder AddViewLocalization(this IMvcCoreBuilder builder) 36/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 38/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 41/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 42/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 44public static IMvcCoreBuilder AddViewLocalization( 45this IMvcCoreBuilder builder, 60/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 62/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 65/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 66/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 68public static IMvcCoreBuilder AddViewLocalization( 69this IMvcCoreBuilder builder, 80/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 83/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 86/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 87/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 89public static IMvcCoreBuilder AddViewLocalization( 90this IMvcCoreBuilder builder, 106/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 107/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 110/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 111/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 113public static IMvcCoreBuilder AddMvcLocalization(this IMvcCoreBuilder builder) 127/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 129/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 132/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 133/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 135public static IMvcCoreBuilder AddMvcLocalization( 136this IMvcCoreBuilder builder, 151/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 153/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 156/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 157/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 159public static IMvcCoreBuilder AddMvcLocalization( 160this IMvcCoreBuilder builder, 175/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 179/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 182/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 183/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 185public static IMvcCoreBuilder AddMvcLocalization( 186this IMvcCoreBuilder builder, 202/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 205/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 208/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 209/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 211public static IMvcCoreBuilder AddMvcLocalization( 212this IMvcCoreBuilder builder, 227/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 232/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 235/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 236/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 238public static IMvcCoreBuilder AddMvcLocalization( 239this IMvcCoreBuilder builder, 255/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 259/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 262/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 263/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 265public static IMvcCoreBuilder AddMvcLocalization( 266this IMvcCoreBuilder builder, 282/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 288/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 291/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine 292/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>. 294public static IMvcCoreBuilder AddMvcLocalization( 295this IMvcCoreBuilder builder,
Microsoft.AspNetCore.Mvc.Localization.Test (3)
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (3)
17public static TheoryData<IMvcCoreBuilder> MvcCoreBuilderExtensionsData() 33return new TheoryData<IMvcCoreBuilder>() 41public void AddsRequiredServices(IMvcCoreBuilder mvcCoreBuilder)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (8)
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensions.cs (8)
25/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 26/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 27public static IMvcCoreBuilder AddNewtonsoftJson(this IMvcCoreBuilder builder) 38/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 40/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 41public static IMvcCoreBuilder AddNewtonsoftJson( 42this IMvcCoreBuilder builder,
Microsoft.AspNetCore.Mvc.Razor (18)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (17)
22/// Static class that adds RazorViewEngine methods to <see cref="IMvcCoreBuilder"/>. 29/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 30/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 31public static IMvcCoreBuilder AddRazorViewEngine(this IMvcCoreBuilder builder) 44/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 46/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 47public static IMvcCoreBuilder AddRazorViewEngine( 48this IMvcCoreBuilder builder, 81/// <param name="builder">The <see cref="IMvcCoreBuilder"/> instance this method extends.</param> 82/// <returns>The <see cref="IMvcCoreBuilder"/> instance this method extends.</returns> 83public static IMvcCoreBuilder AddTagHelpersAsServices(this IMvcCoreBuilder builder) 99/// <param name="builder">The <see cref="IMvcCoreBuilder"/> instance this method extends.</param> 101/// <returns>The <see cref="IMvcCoreBuilder"/> instance this method extends.</returns> 102public static IMvcCoreBuilder InitializeTagHelper<TTagHelper>( 103this IMvcCoreBuilder builder,
TagHelpers\TagHelperFeature.cs (1)
13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (10)
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensions.cs (10)
26/// Configures <see cref="IMvcCoreBuilder" /> to support runtime compilation of Razor views and Razor Pages. 28/// <param name="builder">The <see cref="IMvcCoreBuilder" />.</param> 29/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 30public static IMvcCoreBuilder AddRazorRuntimeCompilation(this IMvcCoreBuilder builder) 39/// Configures <see cref="IMvcCoreBuilder" /> to support runtime compilation of Razor views and Razor Pages. 41/// <param name="builder">The <see cref="IMvcCoreBuilder" />.</param> 43/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 44public static IMvcCoreBuilder AddRazorRuntimeCompilation(this IMvcCoreBuilder builder, Action<MvcRazorRuntimeCompilationOptions> setupAction)
Microsoft.AspNetCore.Mvc.Razor.Test (3)
DependencyInjection\MvcRazorMvcCoreBuilderExtensionsTest.cs (3)
22var builder = services 45var builder = services 57var builder = services
Microsoft.AspNetCore.Mvc.RazorPages (14)
DependencyInjection\MvcRazorPagesMvcBuilderExtensions.cs (2)
35/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 55/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (12)
20/// Static class that adds razor page functionality to <see cref="IMvcCoreBuilder"/>. 27/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 28/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 30public static IMvcCoreBuilder AddRazorPages(this IMvcCoreBuilder builder) 44/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 46/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 47public static IMvcCoreBuilder AddRazorPages( 48this IMvcCoreBuilder builder, 66/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 69public static IMvcCoreBuilder WithRazorPagesRoot(this IMvcCoreBuilder builder, string rootDirectory)
Microsoft.AspNetCore.Mvc.TagHelpers (8)
DependencyInjection\TagHelperExtensions.cs (8)
18/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 19/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 20public static IMvcCoreBuilder AddCacheTagHelper(this IMvcCoreBuilder builder) 48/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 50/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 51public static IMvcCoreBuilder AddCacheTagHelperLimits(this IMvcCoreBuilder builder, Action<CacheTagHelperOptions> configure)
Microsoft.AspNetCore.Mvc.ViewFeatures (22)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (21)
24/// Static class that adds extension methods to <see cref="IMvcCoreBuilder"/>. This class cannot be inherited. 31/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 32/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 33public static IMvcCoreBuilder AddViews(this IMvcCoreBuilder builder) 47/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 48/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 49public static IMvcCoreBuilder AddCookieTempDataProvider(this IMvcCoreBuilder builder) 73/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 75/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 76public static IMvcCoreBuilder AddViews( 77this IMvcCoreBuilder builder, 93/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 98/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 99public static IMvcCoreBuilder AddCookieTempDataProvider( 100this IMvcCoreBuilder builder, 115/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param> 117/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns> 118public static IMvcCoreBuilder ConfigureViews( 119this IMvcCoreBuilder builder,
ViewComponents\ViewComponentFeature.cs (1)
13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (11)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs (11)
17var builder = services.AddMvcCore(); 32var builder = services.AddMvcCore(); 47var builder = services.AddMvcCore(); 63var builder = services.AddMvcCore(); 78var builder = services.AddMvcCore(); 94var builder = services.AddMvcCore(); 110var builder = services.AddMvcCore(); 126var builder = services.AddMvcCore(); 142var builder = services.AddMvcCore(); 158var builder = services.AddMvcCore(); 174var builder = services.AddMvcCore();