2 implementations of Services
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\MvcCoreBuilder.cs (1)
33public IServiceCollection Services { get; }
Microsoft.AspNetCore.Mvc.Localization.Test (1)
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
133public IServiceCollection Services
58 references to Services
Microsoft.AspNetCore.Mvc (6)
MvcServiceCollectionExtensions.cs (6)
88return new MvcBuilder(builder.Services, builder.PartManager); 129return new MvcBuilder(builder.Services, builder.PartManager); 181return new MvcBuilder(builder.Services, builder.PartManager); 220return new MvcBuilder(builder.Services, builder.PartManager); 262return new MvcBuilder(builder.Services, builder.PartManager); 298return new MvcBuilder(builder.Services, builder.PartManager);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DependencyInjection\MvcApiExplorerMvcCoreBuilderExtensions.cs (1)
27AddApiExplorerServices(builder.Services);
Microsoft.AspNetCore.Mvc.Core (12)
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (12)
35builder.Services.Configure(setupAction); 52builder.Services.Configure(configure); 63AddFormatterMappingsServices(builder.Services); 77AddFormatterMappingsServices(builder.Services); 81builder.Services.Configure<MvcOptions>((options) => setupAction(options.FormatterMappings)); 100AddAuthorizationServices(builder.Services); 114AddAuthorizationServices(builder.Services); 118builder.Services.Configure(setupAction); 146builder.Services.TryAddTransient(controller, controller); 149builder.Services.Replace(ServiceDescriptor.Transient<IControllerActivator, ServiceBasedControllerActivator>()); 210builder.Services.Configure(setupAction); 228builder.Services.Configure<MvcCompatibilityOptions>(o => o.CompatibilityVersion = version);
Microsoft.AspNetCore.Mvc.Cors (4)
DependencyInjection\MvcCorsMvcCoreBuilderExtensions.cs (4)
25AddCorsServices(builder.Services); 42AddCorsServices(builder.Services); 43builder.Services.Configure(setupAction); 61builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DependencyInjection\MvcDataAnnotationsMvcCoreBuilderExtensions.cs (2)
25AddDataAnnotationsServices(builder.Services); 54AddDataAnnotationsLocalizationServices(builder.Services, setupAction);
Microsoft.AspNetCore.Mvc.Formatters.Xml (7)
DependencyInjection\MvcXmlMvcCoreBuilderExtensions.cs (7)
29builder.Services.Configure(setupAction); 42AddXmlDataContractSerializerFormatterServices(builder.Services); 59AddXmlDataContractSerializerFormatterServices(builder.Services); 60builder.Services.Configure(setupAction); 73AddXmlSerializerFormatterServices(builder.Services); 89AddXmlSerializerFormatterServices(builder.Services); 90builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.Localization (2)
DependencyInjection\MvcLocalizationMvcCoreBuilderExtensions.cs (2)
53MvcLocalizationServices.AddLocalizationServices(builder.Services, format, setupAction: null); 99MvcLocalizationServices.AddLocalizationServices(builder.Services, format, setupAction);
Microsoft.AspNetCore.Mvc.Localization.Test (1)
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
44var services = mvcCoreBuilder.Services;
Microsoft.AspNetCore.Mvc.NewtonsoftJson (3)
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensions.cs (3)
31AddServicesCore(builder.Services); 48AddServicesCore(builder.Services); 50builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.Razor (5)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (5)
37AddRazorViewEngineServices(builder.Services); 57AddRazorViewEngineServices(builder.Services); 59builder.Services.Configure(setupAction); 87TagHelpersAsServices.AddTagHelpersAsServices(builder.PartManager, builder.Services); 112builder.Services.AddSingleton(typeof(ITagHelperInitializer<TTagHelper>), initializer);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensions.cs (3)
34AddServices(builder.Services); 49AddServices(builder.Services); 50builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.RazorPages (4)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (4)
36AddRazorPagesServices(builder.Services); 56AddRazorPagesServices(builder.Services); 58builder.Services.Configure(setupAction); 74builder.Services.Configure<RazorPagesOptions>(options => options.RootDirectory = rootDirectory);
Microsoft.AspNetCore.Mvc.TagHelpers (2)
DependencyInjection\TagHelperExtensions.cs (2)
24AddCacheTagHelperServices(builder.Services); 56builder.Services.Configure(configure);
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (6)
39AddViewServices(builder.Services); 54AddViewServices(builder.Services); 57builder.Services.Replace(descriptor); 84builder.Services.Configure(setupAction); 107builder.Services.Configure(setupAction); 125builder.Services.Configure(setupAction);