3 implementations of Services
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\MvcBuilder.cs (1)
28public IServiceCollection Services { get; }
Microsoft.AspNetCore.Mvc.Localization.Test (1)
MvcLocalizationMvcBuilderExtensionsTest.cs (1)
133public IServiceCollection Services
RazorBuildWebSite (1)
StartupWithHostingStartup.cs (1)
51public IServiceCollection Services { get; set; }
41 references to Services
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\FunctionalTestsServiceCollectionExtensions.cs (1)
52.Services;
Microsoft.AspNetCore.Mvc (1)
MvcServiceCollectionExtensions.cs (1)
52builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.Core (7)
DependencyInjection\MvcCoreMvcBuilderExtensions.cs (7)
33builder.Services.Configure(setupAction); 51builder.Services.Configure(configure); 68builder.Services.Configure<MvcOptions>((options) => setupAction(options.FormatterMappings)); 129builder.Services.TryAddTransient(controller, controller); 132builder.Services.Replace(ServiceDescriptor.Transient<IControllerActivator, ServiceBasedControllerActivator>()); 150builder.Services.Configure<MvcCompatibilityOptions>(o => o.CompatibilityVersion = version); 167builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DependencyInjection\MvcDataAnnotationsMvcBuilderExtensions.cs (1)
39builder.Services,
Microsoft.AspNetCore.Mvc.Formatters.Xml (7)
DependencyInjection\MvcXmlMvcBuilderExtensions.cs (7)
28builder.Services.Configure(setupAction); 41AddXmlDataContractSerializerFormatterServices(builder.Services); 58AddXmlDataContractSerializerFormatterServices(builder.Services); 59builder.Services.Configure(setupAction); 72AddXmlSerializerFormatterServices(builder.Services); 88AddXmlSerializerFormatterServices(builder.Services); 89builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.Localization (1)
DependencyInjection\MvcLocalizationMvcBuilderExtensions.cs (1)
74MvcLocalizationServices.AddLocalizationServices(builder.Services, format, setupAction);
Microsoft.AspNetCore.Mvc.Localization.Test (1)
MvcLocalizationMvcBuilderExtensionsTest.cs (1)
44var services = mvcBuilder.Services;
Microsoft.AspNetCore.Mvc.NewtonsoftJson (3)
DependencyInjection\NewtonsoftJsonMvcBuilderExtensions.cs (3)
22NewtonsoftJsonMvcCoreBuilderExtensions.AddServicesCore(builder.Services); 39NewtonsoftJsonMvcCoreBuilderExtensions.AddServicesCore(builder.Services); 40builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.Razor (3)
DependencyInjection\MvcRazorMvcBuilderExtensions.cs (3)
28builder.Services.Configure(setupAction); 42TagHelpersAsServices.AddTagHelpersAsServices(builder.PartManager, builder.Services); 67builder.Services.AddSingleton(typeof(ITagHelperInitializer<TTagHelper>), initializer);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
DependencyInjection\RazorRuntimeCompilationMvcBuilderExtensions.cs (3)
22RazorRuntimeCompilationMvcCoreBuilderExtensions.AddServices(builder.Services); 37RazorRuntimeCompilationMvcCoreBuilderExtensions.AddServices(builder.Services); 38builder.Services.Configure(setupAction);
Microsoft.AspNetCore.Mvc.Razor.Test (1)
RazorHotReloadTest.cs (1)
77.Services
Microsoft.AspNetCore.Mvc.RazorPages (3)
DependencyInjection\MvcRazorPagesMvcBuilderExtensions.cs (3)
28builder.Services.Configure(setupAction); 48builder.Services.Configure<RazorPagesOptions>(options => options.RootDirectory = rootDirectory); 61builder.Services.Configure<RazorPagesOptions>(options => options.RootDirectory = "/");
Microsoft.AspNetCore.Mvc.TagHelpers (1)
DependencyInjection\TagHelperExtensions.cs (1)
40builder.Services.Configure(configure);
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
DependencyInjection\MvcViewFeaturesMvcBuilderExtensions.cs (8)
32builder.Services.Configure(setupAction); 50builder.Services.TryAddTransient(viewComponent, viewComponent); 53builder.Services.Replace(ServiceDescriptor.Singleton<IViewComponentActivator, ServiceBasedViewComponentActivator>()); 69MvcViewFeaturesMvcCoreBuilderExtensions.AddViewServices(builder.Services); 72builder.Services.Replace(descriptor); 88MvcViewFeaturesMvcCoreBuilderExtensions.AddViewServices(builder.Services); 91builder.Services.Replace(descriptor); 114builder.Services.Configure(setupAction);