Microsoft.Extensions.DependencyInjection Namespace

namespace Microsoft.Extensions.DependencyInjection

Classes

class Microsoft.Extensions.DependencyInjection.ActivatorUtilities
Helper code for the various activator services.
class Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions
Contains the extension methods for Microsoft.AspNet.Mvc.MvcOptions.Conventions.
class Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions
Extension methods for setting up authentication services in an Microsoft.Extensions.DependencyInjection.IServiceCollection.
class Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions
Extension methods for setting up authorization services in an Microsoft.Extensions.DependencyInjection.IServiceCollection.
class Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions
The Microsoft.Extensions.DependencyInjection.IServiceCollection extensions for enabling CORS support.
class Microsoft.Extensions.DependencyInjection.DataProtectionServiceCollectionExtensions
Allows registering and configuring Data Protection in the application.
class Microsoft.Extensions.DependencyInjection.DataProtectionServices
Provides access to default Data Protection Microsoft.Extensions.DependencyInjection.ServiceDescriptor instances.
class Microsoft.Extensions.DependencyInjection.DirectoryBrowserServiceExtensions
Extension methods for adding directory browser services.

class Microsoft.Extensions.DependencyInjection.ElmServiceCollectionExtensions

class Microsoft.Extensions.DependencyInjection.EncoderServiceCollectionExtensions

class Microsoft.Extensions.DependencyInjection.IdentityEntityFrameworkBuilderExtensions

class Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions
Contains extension methods to Microsoft.Extensions.DependencyInjection.IServiceCollection for configuring identity services.
class Microsoft.Extensions.DependencyInjection.LocalizationServiceCollectionExtensions
Extension methods for adding localization servics to the DI container.

class Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions

class Microsoft.Extensions.DependencyInjection.MemoryCacheServicesExtensions
Extension methods for setting up memory cache related services in an Microsoft.Extensions.DependencyInjection.IServiceCollection.

class Microsoft.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions

class Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions
Extensions for configuring MVC using an Microsoft.Extensions.DependencyInjection.IMvcBuilder.

class Microsoft.Extensions.DependencyInjection.MvcCoreMvcCoreBuilderExtensions

class Microsoft.Extensions.DependencyInjection.MvcCoreServiceCollectionExtensions

class Microsoft.Extensions.DependencyInjection.MvcCorsMvcCoreBuilderExtensions

class Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcBuilderExtensions
Extension methods for configuring MVC data annotations localization.
class Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcCoreBuilderExtensions
Extensions for configuring MVC data annotations using an Microsoft.Extensions.DependencyInjection.IMvcBuilder.
class Microsoft.Extensions.DependencyInjection.MvcJsonMvcBuilderExtensions
Extensions methods for configuring MVC via an Microsoft.Extensions.DependencyInjection.IMvcBuilder.

class Microsoft.Extensions.DependencyInjection.MvcJsonMvcCoreBuilderExtensions

class Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcBuilderExtensions
Extension methods for configuring MVC view localization.
class Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcCoreBuilderExtensions
Extension methods for configuring MVC view localization.
class Microsoft.Extensions.DependencyInjection.MvcRazorMvcBuilderExtensions
Extensions methods for configuring MVC via an Microsoft.Extensions.DependencyInjection.IMvcBuilder.

class Microsoft.Extensions.DependencyInjection.MvcRazorMvcCoreBuilderExtensions

class Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions
Extension methods for setting up MVC services in an Microsoft.Extensions.DependencyInjection.IServiceCollection.
class Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcBuilderExtensions
Extensions methods for configuring MVC via an Microsoft.Extensions.DependencyInjection.IMvcBuilder.

class Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcCoreBuilderExtensions

class Microsoft.Extensions.DependencyInjection.MvcXmlMvcBuilderExtensions
Extension methods for adding XML formatters to MVC.
class Microsoft.Extensions.DependencyInjection.MvcXmlMvcCoreBuilderExtensions
Extension methods for adding XML formatters to MVC.

class Microsoft.Extensions.DependencyInjection.OptionsServiceCollectionExtensions

class Microsoft.Extensions.DependencyInjection.RedisCacheServicesExtensions
Extension methods for setting up Redis distributed cache related services in an Microsoft.Extensions.DependencyInjection.IServiceCollection.

class Microsoft.Extensions.DependencyInjection.RoutingServices

class Microsoft.Extensions.DependencyInjection.ServiceCollection
Default implementation of Microsoft.Extensions.DependencyInjection.IServiceCollection.

class Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions

class Microsoft.Extensions.DependencyInjection.ServiceDescriptor

class Microsoft.Extensions.DependencyInjection.ServiceProviderExtensions

class Microsoft.Extensions.DependencyInjection.SessionServiceCollectionExtensions
Extension methods for adding session services to the DI container.
class Microsoft.Extensions.DependencyInjection.SqlServerCachingServicesExtensions
Extension methods for setting up Microsoft SQL Server distributed cache related services in an Microsoft.Extensions.DependencyInjection.IServiceCollection.

class Microsoft.Extensions.DependencyInjection.WebApiCompatShimMvcBuilderExtensions

Interfaces

interface Microsoft.Extensions.DependencyInjection.IMvcBuilder

interface Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder

interface Microsoft.Extensions.DependencyInjection.IServiceCollection
Specifies the contract for a collection of service descriptors.
interface Microsoft.Extensions.DependencyInjection.IServiceScope
The System.IDisposable.Dispose method ends the scope lifetime. Once Dispose is called, any scoped services that have been resolved from Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider will be disposed.

interface Microsoft.Extensions.DependencyInjection.IServiceScopeFactory

Enumerations

enum Microsoft.Extensions.DependencyInjection.ServiceLifetime

Delegates

delegate Microsoft.Extensions.DependencyInjection.ObjectFactory
The result of Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[]).