RingDotNetfor Ring

Microsoft.Extensions.DependencyInjection

106 wrapped types. Load them with using { "Microsoft.Extensions.DependencyInjection" }. Click a class to open it.

ActivatorUtilities ActivatorUtilitiesConstructorAttribute AntiforgeryServiceCollectionExtensions ApplicationModelConventionExtensions AsyncServiceScope AuthenticationCoreServiceCollectionExtensions AuthenticationServiceCollectionExtensions AuthorizationServiceCollectionExtensions BearerTokenExtensions CascadingAuthenticationStateServiceCollectionExtensions CascadingValueServiceCollectionExtensions CertificateForwardingServiceExtensions ComponentServiceCollectionExtensions ConnectionsDependencyInjectionExtensions CookieExtensions CookiePolicyServiceCollectionExtensions CorsServiceCollectionExtensions DataProtectionServiceCollectionExtensions DefaultServiceProviderFactory DirectoryBrowserServiceExtensions EncoderServiceCollectionExtensions EndpointMetadataApiExplorerServiceCollectionExtensions ExceptionHandlerServiceCollectionExtensions FromKeyedServicesAttribute HealthChecksBuilderAddCheckExtensions HealthChecksBuilderDelegateExtensions HealthCheckServiceCollectionExtensions HttpClientBuilderExtensions HttpClientFactoryServiceCollectionExtensions HttpJsonServiceExtensions HttpLoggingServicesExtensions HttpServiceCollectionExtensions IdentityServiceCollectionExtensions IHealthChecksBuilder IHttpClientBuilder IKeyedServiceProvider IMvcBuilder IMvcCoreBuilder IRazorComponentsBuilder IServerSideBlazorBuilder IServiceCollection IServiceProviderFactory IServiceProviderIsKeyedService IServiceProviderIsService IServiceScope IServiceScopeFactory ISocketsHttpHandlerBuilder ISupportRequiredService JsonProtocolDependencyInjectionExtensions KeyedService LocalizationServiceCollectionExtensions LoggingServiceCollectionExtensions MemoryCacheServiceCollectionExtensions MetricsServiceExtensions MvcApiExplorerMvcCoreBuilderExtensions MvcCoreMvcBuilderExtensions MvcCoreMvcCoreBuilderExtensions MvcCoreServiceCollectionExtensions MvcCorsMvcCoreBuilderExtensions MvcDataAnnotationsMvcBuilderExtensions MvcDataAnnotationsMvcCoreBuilderExtensions MvcLocalizationMvcBuilderExtensions MvcLocalizationMvcCoreBuilderExtensions MvcRazorMvcBuilderExtensions MvcRazorMvcCoreBuilderExtensions MvcRazorPagesMvcBuilderExtensions MvcRazorPagesMvcCoreBuilderExtensions MvcServiceCollectionExtensions MvcViewFeaturesMvcBuilderExtensions MvcViewFeaturesMvcCoreBuilderExtensions MvcXmlMvcBuilderExtensions MvcXmlMvcCoreBuilderExtensions OAuthExtensions OAuthPostConfigureOptions OptionsBuilderConfigurationExtensions OptionsBuilderDataAnnotationsExtensions OptionsBuilderExtensions OptionsConfigurationServiceCollectionExtensions OptionsServiceCollectionExtensions OutputCacheConventionBuilderExtensions OutputCacheServiceCollectionExtensions PageConventionCollectionExtensions PolicyServiceCollectionExtensions ProblemDetailsServiceCollectionExtensions RazorComponentsServiceCollectionExtensions RequestDecompressionServiceExtensions RequestLocalizationServiceCollectionExtensions RequestTimeoutsIServiceCollectionExtensions ResponseCachingServicesExtensions RoutingServiceCollectionExtensions ServerRazorComponentsBuilderExtensions ServerSideBlazorBuilderExtensions ServiceCollection ServiceCollectionContainerBuilderExtensions ServiceCollectionHostedServiceExtensions ServiceCollectionServiceExtensions ServiceDescriptor ServiceKeyAttribute ServiceProvider ServiceProviderKeyedServiceExtensions ServiceProviderOptions ServiceProviderServiceExtensions SessionServiceCollectionExtensions SignalRDependencyInjectionExtensions SocketsHttpHandlerBuilderExtensions TagHelperServicesExtensions
ActivatorUtilities class static

Microsoft.Extensions.DependencyInjection.ActivatorUtilities · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
CreateFactoryCreateFactory(value)
CreateFactory([ :argumentTypes = … ])
CreateFactory([ :instanceType = …, :argumentTypes = … ])
static ObjectFactory CreateFactory(Type instanceType, Type[] argumentTypes)
static ObjectFactory<T> CreateFactory<T>(Type[] argumentTypes)
CreateInstanceCreateInstance([ :provider = …, :parameters = … ])
CreateInstance([ :provider = …, :instanceType = …, :parameters = … ])
static object CreateInstance(IServiceProvider provider, Type instanceType, object[] parameters)
static T CreateInstance<T>(IServiceProvider provider, object[] parameters)
GetServiceOrCreateInstanceGetServiceOrCreateInstance(value)
GetServiceOrCreateInstance([ :provider = … ])
GetServiceOrCreateInstance([ :provider = …, :type = … ])
static T GetServiceOrCreateInstance<T>(IServiceProvider provider)
static object GetServiceOrCreateInstance(IServiceProvider provider, Type type)
ActivatorUtilitiesConstructorAttribute class · extends Attribute

Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Constructors

new ActivatorUtilitiesConstructorAttribute()

Ring: new ActivatorUtilitiesConstructorAttribute(args) uses one constructor; the others are chosen by the parameter names: new ActivatorUtilitiesConstructorAttribute().@New([ :param = value ]) or dnNew("ActivatorUtilitiesConstructorAttribute",[ :param = value ]).

Members of the base class are inherited.

AntiforgeryServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.AntiforgeryServiceCollectionExtensions · assembly Microsoft.AspNetCore.Antiforgery

Methods

MethodRing call.NET overloads
AddAntiforgeryAddAntiforgery(value)
AddAntiforgery([ :services = … ])
AddAntiforgery([ :services = …, :setupAction = … ])
static IServiceCollection AddAntiforgery(IServiceCollection services)
static IServiceCollection AddAntiforgery(IServiceCollection services, Action<AntiforgeryOptions> setupAction)
ApplicationModelConventionExtensions class static

Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions · assembly Microsoft.AspNetCore.Mvc.Core

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static void Add(IList<IApplicationModelConvention> conventions, IControllerModelConvention controllerModelConvention)
static void Add(IList<IApplicationModelConvention> conventions, IActionModelConvention actionModelConvention)
static void Add(IList<IApplicationModelConvention> conventions, IParameterModelConvention parameterModelConvention)
static void Add(IList<IApplicationModelConvention> conventions, IParameterModelBaseConvention parameterModelConvention)
RemoveTypeRemoveType(value)
RemoveType([ :list = … ])
RemoveType([ :list = …, :type = … ])
static void RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention> list)
static void RemoveType(IList<IApplicationModelConvention> list, Type type)
AsyncServiceScope struct

Microsoft.Extensions.DependencyInjection.AsyncServiceScope · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Implements: IDisposable, IAsyncDisposable

Constructors

new AsyncServiceScope(IServiceScope serviceScope)

Ring: new AsyncServiceScope(args) uses one constructor; the others are chosen by the parameter names: new AsyncServiceScope().@New([ :param = value ]) or dnNew("AsyncServiceScope",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ServiceProviderIServiceProviderreado.ServiceProvider

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
AuthenticationCoreServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.AuthenticationCoreServiceCollectionExtensions · assembly Microsoft.AspNetCore.Authentication.Core

Methods

MethodRing call.NET overloads
AddAuthenticationCoreAddAuthenticationCore(value)
AddAuthenticationCore([ :services = … ])
AddAuthenticationCore([ :services = …, :configureOptions = … ])
static IServiceCollection AddAuthenticationCore(IServiceCollection services)
static IServiceCollection AddAuthenticationCore(IServiceCollection services, Action<AuthenticationOptions> configureOptions)
AuthenticationServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions · assembly Microsoft.AspNetCore.Authentication

Methods

MethodRing call.NET overloads
AddAuthenticationAddAuthentication(value)
AddAuthentication([ :services = … ])
AddAuthentication([ :services = …, :defaultScheme = … ])
AddAuthentication([ :services = …, :configureOptions = … ])
static AuthenticationBuilder AddAuthentication(IServiceCollection services)
static AuthenticationBuilder AddAuthentication(IServiceCollection services, string defaultScheme)
static AuthenticationBuilder AddAuthentication(IServiceCollection services, Action<AuthenticationOptions> configureOptions)
AuthorizationServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions · assembly Microsoft.AspNetCore.Authorization

Methods

MethodRing call.NET overloads
AddAuthorizationCoreAddAuthorizationCore(value)
AddAuthorizationCore([ :services = … ])
AddAuthorizationCore([ :services = …, :configure = … ])
static IServiceCollection AddAuthorizationCore(IServiceCollection services)
static IServiceCollection AddAuthorizationCore(IServiceCollection services, Action<AuthorizationOptions> configure)
BearerTokenExtensions class static

Microsoft.Extensions.DependencyInjection.BearerTokenExtensions · assembly Microsoft.AspNetCore.Authentication.BearerToken

Methods

MethodRing call.NET overloads
AddBearerTokenAddBearerToken(value)
AddBearerToken([ :builder = … ])
AddBearerToken([ :builder = …, :authenticationScheme = … ])
AddBearerToken([ :builder = …, :configure = … ])
AddBearerToken([ :builder = …, :authenticationScheme = …, :configure = … ])
static AuthenticationBuilder AddBearerToken(AuthenticationBuilder builder)
static AuthenticationBuilder AddBearerToken(AuthenticationBuilder builder, string authenticationScheme)
static AuthenticationBuilder AddBearerToken(AuthenticationBuilder builder, Action<BearerTokenOptions> configure)
static AuthenticationBuilder AddBearerToken(AuthenticationBuilder builder, string authenticationScheme, Action<BearerTokenOptions> configure)
CascadingAuthenticationStateServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.CascadingAuthenticationStateServiceCollectionExtensions · assembly Microsoft.AspNetCore.Components.Authorization

Methods

MethodRing call.NET overloads
AddCascadingAuthenticationStateAddCascadingAuthenticationState(p1)static IServiceCollection AddCascadingAuthenticationState(IServiceCollection serviceCollection)
CascadingValueServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.CascadingValueServiceCollectionExtensions · assembly Microsoft.AspNetCore.Components

Methods

MethodRing call.NET overloads
AddCascadingValueAddCascadingValue([ :serviceCollection = …, :initialValueFactory = … ])
AddCascadingValue([ :serviceCollection = …, :sourceFactory = … ])
AddCascadingValue([ :serviceCollection = …, :name = …, :initialValueFactory = … ])
static IServiceCollection AddCascadingValue<TValue>(IServiceCollection serviceCollection, Func<IServiceProvider, TValue> initialValueFactory)
static IServiceCollection AddCascadingValue<TValue>(IServiceCollection serviceCollection, string name, Func<IServiceProvider, TValue> initialValueFactory)
static IServiceCollection AddCascadingValue<TValue>(IServiceCollection serviceCollection, Func<IServiceProvider, CascadingValueSource<TValue>> sourceFactory)
TryAddCascadingValueTryAddCascadingValue([ :serviceCollection = …, :valueFactory = … ])
TryAddCascadingValue([ :serviceCollection = …, :sourceFactory = … ])
TryAddCascadingValue([ :serviceCollection = …, :name = …, :valueFactory = … ])
static void TryAddCascadingValue<TValue>(IServiceCollection serviceCollection, Func<IServiceProvider, TValue> valueFactory)
static void TryAddCascadingValue<TValue>(IServiceCollection serviceCollection, string name, Func<IServiceProvider, TValue> valueFactory)
static void TryAddCascadingValue<TValue>(IServiceCollection serviceCollection, Func<IServiceProvider, CascadingValueSource<TValue>> sourceFactory)
CertificateForwardingServiceExtensions class static

Microsoft.Extensions.DependencyInjection.CertificateForwardingServiceExtensions · assembly Microsoft.AspNetCore.HttpOverrides

Methods

MethodRing call.NET overloads
AddCertificateForwardingAddCertificateForwarding(p1,p2)static IServiceCollection AddCertificateForwarding(IServiceCollection services, Action<CertificateForwardingOptions> configure)
ComponentServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.ComponentServiceCollectionExtensions · assembly Microsoft.AspNetCore.Components.Server

Methods

MethodRing call.NET overloads
AddServerSideBlazorAddServerSideBlazor([ :services = …, :configure = … ])static IServerSideBlazorBuilder AddServerSideBlazor(IServiceCollection services, Action<CircuitOptions> configure = …)
ConnectionsDependencyInjectionExtensions class static

Microsoft.Extensions.DependencyInjection.ConnectionsDependencyInjectionExtensions · assembly Microsoft.AspNetCore.Http.Connections

Methods

MethodRing call.NET overloads
AddConnectionsAddConnections(value)
AddConnections([ :services = … ])
AddConnections([ :services = …, :options = … ])
static IServiceCollection AddConnections(IServiceCollection services)
static IServiceCollection AddConnections(IServiceCollection services, Action<ConnectionOptions> options)
CookieExtensions class static

Microsoft.Extensions.DependencyInjection.CookieExtensions · assembly Microsoft.AspNetCore.Authentication.Cookies

Methods

MethodRing call.NET overloads
AddCookieAddCookie(value)
AddCookie([ :builder = … ])
AddCookie([ :builder = …, :authenticationScheme = … ])
AddCookie([ :builder = …, :configureOptions = … ])
AddCookie([ :builder = …, :authenticationScheme = …, :configureOptions = … ])
static AuthenticationBuilder AddCookie(AuthenticationBuilder builder)
static AuthenticationBuilder AddCookie(AuthenticationBuilder builder, string authenticationScheme)
static AuthenticationBuilder AddCookie(AuthenticationBuilder builder, Action<CookieAuthenticationOptions> configureOptions)
static AuthenticationBuilder AddCookie(AuthenticationBuilder builder, string authenticationScheme, Action<CookieAuthenticationOptions> configureOptions)
static AuthenticationBuilder AddCookie(AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<CookieAuthenticationOptions> configureOptions)
CookiePolicyServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.CookiePolicyServiceCollectionExtensions · assembly Microsoft.AspNetCore.CookiePolicy

Methods

MethodRing call.NET overloads
AddCookiePolicyAddCookiePolicy(p1,p2)static IServiceCollection AddCookiePolicy(IServiceCollection services, Action<CookiePolicyOptions> configureOptions)
static IServiceCollection AddCookiePolicy<TService>(IServiceCollection services, Action<CookiePolicyOptions, TService> configureOptions)
CorsServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions · assembly Microsoft.AspNetCore.Cors

Methods

MethodRing call.NET overloads
AddCorsAddCors(value)
AddCors([ :services = … ])
AddCors([ :services = …, :setupAction = … ])
static IServiceCollection AddCors(IServiceCollection services)
static IServiceCollection AddCors(IServiceCollection services, Action<CorsOptions> setupAction)
DataProtectionServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.DataProtectionServiceCollectionExtensions · assembly Microsoft.AspNetCore.DataProtection

Methods

MethodRing call.NET overloads
AddDataProtectionAddDataProtection(value)
AddDataProtection([ :services = … ])
AddDataProtection([ :services = …, :setupAction = … ])
static IDataProtectionBuilder AddDataProtection(IServiceCollection services)
static IDataProtectionBuilder AddDataProtection(IServiceCollection services, Action<DataProtectionOptions> setupAction)
DefaultServiceProviderFactory class

Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory · assembly Microsoft.Extensions.DependencyInjection

Constructors

new DefaultServiceProviderFactory()
new DefaultServiceProviderFactory(ServiceProviderOptions options)

Ring: new DefaultServiceProviderFactory(args) uses one constructor; the others are chosen by the parameter names: new DefaultServiceProviderFactory().@New([ :param = value ]) or dnNew("DefaultServiceProviderFactory",[ :param = value ]).

Methods

MethodRing call.NET overloads
CreateBuildercallMethod("CreateBuilder",[p1])IServiceCollection CreateBuilder(IServiceCollection services)
CreateServiceProvidercallMethod("CreateServiceProvider",[p1])IServiceProvider CreateServiceProvider(IServiceCollection containerBuilder)
DirectoryBrowserServiceExtensions class static

Microsoft.Extensions.DependencyInjection.DirectoryBrowserServiceExtensions · assembly Microsoft.AspNetCore.StaticFiles

Methods

MethodRing call.NET overloads
AddDirectoryBrowserAddDirectoryBrowser(p1)static IServiceCollection AddDirectoryBrowser(IServiceCollection services)
EncoderServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.EncoderServiceCollectionExtensions · assembly Microsoft.Extensions.WebEncoders

Methods

MethodRing call.NET overloads
AddWebEncodersAddWebEncoders(value)
AddWebEncoders([ :services = … ])
AddWebEncoders([ :services = …, :setupAction = … ])
static IServiceCollection AddWebEncoders(IServiceCollection services)
static IServiceCollection AddWebEncoders(IServiceCollection services, Action<WebEncoderOptions> setupAction)
EndpointMetadataApiExplorerServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.EndpointMetadataApiExplorerServiceCollectionExtensions · assembly Microsoft.AspNetCore.Mvc.ApiExplorer

Methods

MethodRing call.NET overloads
AddEndpointsApiExplorerAddEndpointsApiExplorer(p1)static IServiceCollection AddEndpointsApiExplorer(IServiceCollection services)
ExceptionHandlerServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.ExceptionHandlerServiceCollectionExtensions · assembly Microsoft.AspNetCore.Diagnostics

Methods

MethodRing call.NET overloads
AddExceptionHandlerAddExceptionHandler(value)
AddExceptionHandler([ :services = … ])
AddExceptionHandler([ :services = …, :configureOptions = … ])
static IServiceCollection AddExceptionHandler(IServiceCollection services, Action<ExceptionHandlerOptions> configureOptions)
static IServiceCollection AddExceptionHandler<TService>(IServiceCollection services, Action<ExceptionHandlerOptions, TService> configureOptions)
static IServiceCollection AddExceptionHandler<T>(IServiceCollection services)
FromKeyedServicesAttribute class · extends Attribute

Microsoft.Extensions.DependencyInjection.FromKeyedServicesAttribute · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Constructors

new FromKeyedServicesAttribute(object key)

Ring: new FromKeyedServicesAttribute(args) uses one constructor; the others are chosen by the parameter names: new FromKeyedServicesAttribute().@New([ :param = value ]) or dnNew("FromKeyedServicesAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Keyobjectreado.Key

Members of the base class are inherited.

HealthChecksBuilderAddCheckExtensions class static

Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions · assembly Microsoft.Extensions.Diagnostics.HealthChecks

Methods

MethodRing call.NET overloads
AddCheckAddCheck([ :builder = …, :name = …, :failureStatus = …, :tags = … ])
AddCheck([ :builder = …, :name = …, :instance = …, :failureStatus = …, :tags = … ])
AddCheck([ :builder = …, :name = …, :failureStatus = …, :tags = …, :timeout = … ])
AddCheck([ :builder = …, :name = …, :instance = …, :failureStatus = …, :tags = …, :timeout = … ])
static IHealthChecksBuilder AddCheck(IHealthChecksBuilder builder, string name, IHealthCheck instance, HealthStatus? failureStatus, IEnumerable<string> tags)
static IHealthChecksBuilder AddCheck(IHealthChecksBuilder builder, string name, IHealthCheck instance, HealthStatus? failureStatus = …, IEnumerable<string> tags = …, TimeSpan? timeout = …)
static IHealthChecksBuilder AddCheck<T>(IHealthChecksBuilder builder, string name, HealthStatus? failureStatus, IEnumerable<string> tags)
static IHealthChecksBuilder AddCheck<T>(IHealthChecksBuilder builder, string name, HealthStatus? failureStatus = …, IEnumerable<string> tags = …, TimeSpan? timeout = …)
AddTypeActivatedCheckAddTypeActivatedCheck([ :builder = …, :name = …, :args = … ])
AddTypeActivatedCheck([ :builder = …, :name = …, :failureStatus = …, :args = … ])
AddTypeActivatedCheck([ :builder = …, :name = …, :failureStatus = …, :tags = …, :args = … ])
AddTypeActivatedCheck([ :builder = …, :name = …, :failureStatus = …, :tags = …, :timeout = …, :args = … ])
static IHealthChecksBuilder AddTypeActivatedCheck<T>(IHealthChecksBuilder builder, string name, object[] args)
static IHealthChecksBuilder AddTypeActivatedCheck<T>(IHealthChecksBuilder builder, string name, HealthStatus? failureStatus, object[] args)
static IHealthChecksBuilder AddTypeActivatedCheck<T>(IHealthChecksBuilder builder, string name, HealthStatus? failureStatus, IEnumerable<string> tags, object[] args)
static IHealthChecksBuilder AddTypeActivatedCheck<T>(IHealthChecksBuilder builder, string name, HealthStatus? failureStatus, IEnumerable<string> tags, TimeSpan timeout, object[] args)
HealthChecksBuilderDelegateExtensions class static

Microsoft.Extensions.DependencyInjection.HealthChecksBuilderDelegateExtensions · assembly Microsoft.Extensions.Diagnostics.HealthChecks

Methods

MethodRing call.NET overloads
AddAsyncCheckAddAsyncCheck([ :builder = …, :name = …, :check = …, :tags = … ])
AddAsyncCheck([ :builder = …, :name = …, :check = …, :tags = …, :timeout = … ])
static IHealthChecksBuilder AddAsyncCheck(IHealthChecksBuilder builder, string name, Func<Task<HealthCheckResult>> check, IEnumerable<string> tags)
static IHealthChecksBuilder AddAsyncCheck(IHealthChecksBuilder builder, string name, Func<Task<HealthCheckResult>> check, IEnumerable<string> tags = …, TimeSpan? timeout = …)
static IHealthChecksBuilder AddAsyncCheck(IHealthChecksBuilder builder, string name, Func<CancellationToken, Task<HealthCheckResult>> check, IEnumerable<string> tags)
static IHealthChecksBuilder AddAsyncCheck(IHealthChecksBuilder builder, string name, Func<CancellationToken, Task<HealthCheckResult>> check, IEnumerable<string> tags = …, TimeSpan? timeout = …)
AddCheckAddCheck([ :builder = …, :name = …, :check = …, :tags = … ])
AddCheck([ :builder = …, :name = …, :check = …, :tags = …, :timeout = … ])
static IHealthChecksBuilder AddCheck(IHealthChecksBuilder builder, string name, Func<HealthCheckResult> check, IEnumerable<string> tags)
static IHealthChecksBuilder AddCheck(IHealthChecksBuilder builder, string name, Func<HealthCheckResult> check, IEnumerable<string> tags = …, TimeSpan? timeout = …)
static IHealthChecksBuilder AddCheck(IHealthChecksBuilder builder, string name, Func<CancellationToken, HealthCheckResult> check, IEnumerable<string> tags)
static IHealthChecksBuilder AddCheck(IHealthChecksBuilder builder, string name, Func<CancellationToken, HealthCheckResult> check, IEnumerable<string> tags = …, TimeSpan? timeout = …)
HealthCheckServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.HealthCheckServiceCollectionExtensions · assembly Microsoft.Extensions.Diagnostics.HealthChecks

Methods

MethodRing call.NET overloads
AddHealthChecksAddHealthChecks(p1)static IHealthChecksBuilder AddHealthChecks(IServiceCollection services)
HttpClientBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.HttpClientBuilderExtensions · assembly Microsoft.Extensions.Http

Methods

MethodRing call.NET overloads
AddAsKeyedAddAsKeyed([ :builder = …, :lifetime = … ])static IHttpClientBuilder AddAsKeyed(IHttpClientBuilder builder, ServiceLifetime lifetime = …)
AddDefaultLoggerAddDefaultLogger(p1)static IHttpClientBuilder AddDefaultLogger(IHttpClientBuilder builder)
AddHttpMessageHandlerAddHttpMessageHandler(value)
AddHttpMessageHandler([ :builder = … ])
AddHttpMessageHandler([ :builder = …, :configureHandler = … ])
static IHttpClientBuilder AddHttpMessageHandler(IHttpClientBuilder builder, Func<DelegatingHandler> configureHandler)
static IHttpClientBuilder AddHttpMessageHandler(IHttpClientBuilder builder, Func<IServiceProvider, DelegatingHandler> configureHandler)
static IHttpClientBuilder AddHttpMessageHandler<THandler>(IHttpClientBuilder builder)
AddLoggerAddLogger([ :builder = …, :wrapHandlersPipeline = … ])
AddLogger([ :builder = …, :httpClientLoggerFactory = …, :wrapHandlersPipeline = … ])
static IHttpClientBuilder AddLogger(IHttpClientBuilder builder, Func<IServiceProvider, IHttpClientLogger> httpClientLoggerFactory, bool wrapHandlersPipeline = …)
static IHttpClientBuilder AddLogger<TLogger>(IHttpClientBuilder builder, bool wrapHandlersPipeline = …)
AddTypedClientAddTypedClient(value)
AddTypedClient([ :builder = … ])
AddTypedClient([ :builder = …, :factory = … ])
static IHttpClientBuilder AddTypedClient<TClient>(IHttpClientBuilder builder)
static IHttpClientBuilder AddTypedClient<TClient, TImplementation>(IHttpClientBuilder builder)
static IHttpClientBuilder AddTypedClient<TClient>(IHttpClientBuilder builder, Func<HttpClient, TClient> factory)
static IHttpClientBuilder AddTypedClient<TClient>(IHttpClientBuilder builder, Func<HttpClient, IServiceProvider, TClient> factory)
ConfigureAdditionalHttpMessageHandlersConfigureAdditionalHttpMessageHandlers(p1,p2)static IHttpClientBuilder ConfigureAdditionalHttpMessageHandlers(IHttpClientBuilder builder, Action<IList<DelegatingHandler>, IServiceProvider> configureAdditionalHandlers)
ConfigureHttpClientConfigureHttpClient(p1,p2)static IHttpClientBuilder ConfigureHttpClient(IHttpClientBuilder builder, Action<HttpClient> configureClient)
static IHttpClientBuilder ConfigureHttpClient(IHttpClientBuilder builder, Action<IServiceProvider, HttpClient> configureClient)
ConfigureHttpMessageHandlerBuilderConfigureHttpMessageHandlerBuilder(p1,p2)static IHttpClientBuilder ConfigureHttpMessageHandlerBuilder(IHttpClientBuilder builder, Action<HttpMessageHandlerBuilder> configureBuilder)
ConfigurePrimaryHttpMessageHandlerConfigurePrimaryHttpMessageHandler(value)
ConfigurePrimaryHttpMessageHandler([ :builder = … ])
ConfigurePrimaryHttpMessageHandler([ :builder = …, :configureHandler = … ])
static IHttpClientBuilder ConfigurePrimaryHttpMessageHandler(IHttpClientBuilder builder, Func<HttpMessageHandler> configureHandler)
static IHttpClientBuilder ConfigurePrimaryHttpMessageHandler(IHttpClientBuilder builder, Func<IServiceProvider, HttpMessageHandler> configureHandler)
static IHttpClientBuilder ConfigurePrimaryHttpMessageHandler<THandler>(IHttpClientBuilder builder)
static IHttpClientBuilder ConfigurePrimaryHttpMessageHandler(IHttpClientBuilder builder, Action<HttpMessageHandler, IServiceProvider> configureHandler)
RedactLoggedHeadersRedactLoggedHeaders(p1,p2)static IHttpClientBuilder RedactLoggedHeaders(IHttpClientBuilder builder, Func<string, bool> shouldRedactHeaderValue)
static IHttpClientBuilder RedactLoggedHeaders(IHttpClientBuilder builder, IEnumerable<string> redactedLoggedHeaderNames)
RemoveAllLoggersRemoveAllLoggers(p1)static IHttpClientBuilder RemoveAllLoggers(IHttpClientBuilder builder)
RemoveAsKeyedRemoveAsKeyed(p1)static IHttpClientBuilder RemoveAsKeyed(IHttpClientBuilder builder)
SetHandlerLifetimeSetHandlerLifetime(p1,p2)static IHttpClientBuilder SetHandlerLifetime(IHttpClientBuilder builder, TimeSpan handlerLifetime)
UseSocketsHttpHandlerUseSocketsHttpHandler([ :builder = …, :configureHandler = … ])
UseSocketsHttpHandler([ :builder = …, :configureBuilder = … ])
static IHttpClientBuilder UseSocketsHttpHandler(IHttpClientBuilder builder, Action<SocketsHttpHandler, IServiceProvider> configureHandler = …)
static IHttpClientBuilder UseSocketsHttpHandler(IHttpClientBuilder builder, Action<ISocketsHttpHandlerBuilder> configureBuilder)
HttpClientFactoryServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.HttpClientFactoryServiceCollectionExtensions · assembly Microsoft.Extensions.Http

Methods

MethodRing call.NET overloads
AddHttpClientAddHttpClient(value)
AddHttpClient([ :services = … ])
AddHttpClient([ :services = …, :name = … ])
AddHttpClient([ :services = …, :configureClient = … ])
AddHttpClient([ :services = …, :factory = … ])
static IServiceCollection AddHttpClient(IServiceCollection services)
static IHttpClientBuilder AddHttpClient(IServiceCollection services, string name)
static IHttpClientBuilder AddHttpClient(IServiceCollection services, string name, Action<HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient(IServiceCollection services, string name, Action<IServiceProvider, HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient>(IServiceCollection services)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services)
static IHttpClientBuilder AddHttpClient<TClient>(IServiceCollection services, string name)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, string name)
static IHttpClientBuilder AddHttpClient<TClient>(IServiceCollection services, Action<HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient>(IServiceCollection services, Action<IServiceProvider, HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, Action<HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, Action<IServiceProvider, HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient>(IServiceCollection services, string name, Action<HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient>(IServiceCollection services, string name, Action<IServiceProvider, HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, string name, Action<HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, string name, Action<IServiceProvider, HttpClient> configureClient)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, Func<HttpClient, TImplementation> factory)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, string name, Func<HttpClient, TImplementation> factory)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, Func<HttpClient, IServiceProvider, TImplementation> factory)
static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(IServiceCollection services, string name, Func<HttpClient, IServiceProvider, TImplementation> factory)
ConfigureHttpClientDefaultsConfigureHttpClientDefaults(p1,p2)static IServiceCollection ConfigureHttpClientDefaults(IServiceCollection services, Action<IHttpClientBuilder> configure)
HttpJsonServiceExtensions class static

Microsoft.Extensions.DependencyInjection.HttpJsonServiceExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
ConfigureHttpJsonOptionsConfigureHttpJsonOptions(p1,p2)static IServiceCollection ConfigureHttpJsonOptions(IServiceCollection services, Action<JsonOptions> configureOptions)
HttpLoggingServicesExtensions class static

Microsoft.Extensions.DependencyInjection.HttpLoggingServicesExtensions · assembly Microsoft.AspNetCore.HttpLogging

Methods

MethodRing call.NET overloads
AddHttpLoggingAddHttpLogging(value)
AddHttpLogging([ :services = … ])
AddHttpLogging([ :services = …, :configureOptions = … ])
static IServiceCollection AddHttpLogging(IServiceCollection services)
static IServiceCollection AddHttpLogging(IServiceCollection services, Action<HttpLoggingOptions> configureOptions)
AddHttpLoggingInterceptorAddHttpLoggingInterceptor(value)
AddHttpLoggingInterceptor([ :services = … ])
static IServiceCollection AddHttpLoggingInterceptor<T>(IServiceCollection services)
AddW3CLoggingAddW3CLogging(p1,p2)static IServiceCollection AddW3CLogging(IServiceCollection services, Action<W3CLoggerOptions> configureOptions)
HttpServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.HttpServiceCollectionExtensions · assembly Microsoft.AspNetCore.Http

Methods

MethodRing call.NET overloads
AddHttpContextAccessorAddHttpContextAccessor(p1)static IServiceCollection AddHttpContextAccessor(IServiceCollection services)
IdentityServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions · assembly Microsoft.AspNetCore.Identity

Methods

MethodRing call.NET overloads
AddIdentityAddIdentity(value)
AddIdentity([ :services = … ])
AddIdentity([ :services = …, :setupAction = … ])
static IdentityBuilder AddIdentity<TUser, TRole>(IServiceCollection services)
static IdentityBuilder AddIdentity<TUser, TRole>(IServiceCollection services, Action<IdentityOptions> setupAction)
AddIdentityApiEndpointsAddIdentityApiEndpoints(value)
AddIdentityApiEndpoints([ :services = … ])
AddIdentityApiEndpoints([ :services = …, :configure = … ])
static IdentityBuilder AddIdentityApiEndpoints<TUser>(IServiceCollection services)
static IdentityBuilder AddIdentityApiEndpoints<TUser>(IServiceCollection services, Action<IdentityOptions> configure)
ConfigureApplicationCookieConfigureApplicationCookie(p1,p2)static IServiceCollection ConfigureApplicationCookie(IServiceCollection services, Action<CookieAuthenticationOptions> configure)
ConfigureExternalCookieConfigureExternalCookie(p1,p2)static IServiceCollection ConfigureExternalCookie(IServiceCollection services, Action<CookieAuthenticationOptions> configure)
IHealthChecksBuilder interface

Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder · assembly Microsoft.Extensions.Diagnostics.HealthChecks

Properties and fields

NameTypeAccessIn Ring
ServicesIServiceCollectionreado.Services

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])IHealthChecksBuilder Add(HealthCheckRegistration registration)
IHttpClientBuilder interface

Microsoft.Extensions.DependencyInjection.IHttpClientBuilder · assembly Microsoft.Extensions.Http

Properties and fields

NameTypeAccessIn Ring
Namestringreado.Name
ServicesIServiceCollectionreado.Services
IKeyedServiceProvider interface

Microsoft.Extensions.DependencyInjection.IKeyedServiceProvider · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Implements: IServiceProvider

Methods

MethodRing call.NET overloads
GetKeyedServicecallMethod("GetKeyedService",[p1,p2])object GetKeyedService(Type serviceType, object serviceKey)
GetRequiredKeyedServicecallMethod("GetRequiredKeyedService",[p1,p2])object GetRequiredKeyedService(Type serviceType, object serviceKey)
IMvcBuilder interface

Microsoft.Extensions.DependencyInjection.IMvcBuilder · assembly Microsoft.AspNetCore.Mvc.Core

Properties and fields

NameTypeAccessIn Ring
ServicesIServiceCollectionreado.Services
PartManagerApplicationPartManagerreado.PartManager
IMvcCoreBuilder interface

Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder · assembly Microsoft.AspNetCore.Mvc.Core

Properties and fields

NameTypeAccessIn Ring
ServicesIServiceCollectionreado.Services
PartManagerApplicationPartManagerreado.PartManager
IRazorComponentsBuilder interface

Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder · assembly Microsoft.AspNetCore.Components.Endpoints

Properties and fields

NameTypeAccessIn Ring
ServicesIServiceCollectionreado.Services
IServerSideBlazorBuilder interface

Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder · assembly Microsoft.AspNetCore.Components.Server

Properties and fields

NameTypeAccessIn Ring
ServicesIServiceCollectionreado.Services
IServiceCollection interface

Microsoft.Extensions.DependencyInjection.IServiceCollection · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Implements: IEnumerable

Indexer

o.Item(int index) → ServiceDescriptor · o.SetItem(index,value)

IServiceProviderFactory interface

Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1 · assembly Microsoft.Extensions.DependencyInjection.Abstractions

IServiceProviderIsKeyedService interface

Microsoft.Extensions.DependencyInjection.IServiceProviderIsKeyedService · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
IsKeyedServiceIsKeyedService(p1,p2)bool IsKeyedService(Type serviceType, object serviceKey)
IServiceProviderIsService interface

Microsoft.Extensions.DependencyInjection.IServiceProviderIsService · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
IsServiceIsService(p1)bool IsService(Type serviceType)
IServiceScope interface

Microsoft.Extensions.DependencyInjection.IServiceScope · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
ServiceProviderIServiceProviderreado.ServiceProvider
IServiceScopeFactory interface

Microsoft.Extensions.DependencyInjection.IServiceScopeFactory · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
CreateScopecallMethod("CreateScope",[])IServiceScope CreateScope()
ISocketsHttpHandlerBuilder interface

Microsoft.Extensions.DependencyInjection.ISocketsHttpHandlerBuilder · assembly Microsoft.Extensions.Http

Properties and fields

NameTypeAccessIn Ring
Namestringreado.Name
ServicesIServiceCollectionreado.Services
ISupportRequiredService interface

Microsoft.Extensions.DependencyInjection.ISupportRequiredService · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
GetRequiredServicecallMethod("GetRequiredService",[p1])object GetRequiredService(Type serviceType)
JsonProtocolDependencyInjectionExtensions class static

Microsoft.Extensions.DependencyInjection.JsonProtocolDependencyInjectionExtensions · assembly Microsoft.AspNetCore.SignalR.Protocols.Json

Methods

MethodRing call.NET overloads
AddJsonProtocolAddJsonProtocol(value)
AddJsonProtocol([ :builder = … ])
AddJsonProtocol([ :builder = …, :configure = … ])
static TBuilder AddJsonProtocol<TBuilder>(TBuilder builder)
static TBuilder AddJsonProtocol<TBuilder>(TBuilder builder, Action<JsonHubProtocolOptions> configure)
KeyedService class static

Microsoft.Extensions.DependencyInjection.KeyedService · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Properties and fields

NameTypeAccessIn Ring
AnyKeyobjectread · statico.AnyKey
LocalizationServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.LocalizationServiceCollectionExtensions · assembly Microsoft.Extensions.Localization

Methods

MethodRing call.NET overloads
AddLocalizationAddLocalization(value)
AddLocalization([ :services = … ])
AddLocalization([ :services = …, :setupAction = … ])
static IServiceCollection AddLocalization(IServiceCollection services)
static IServiceCollection AddLocalization(IServiceCollection services, Action<LocalizationOptions> setupAction)
LoggingServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions · assembly Microsoft.Extensions.Logging

Methods

MethodRing call.NET overloads
AddLoggingAddLogging(value)
AddLogging([ :services = … ])
AddLogging([ :services = …, :configure = … ])
static IServiceCollection AddLogging(IServiceCollection services)
static IServiceCollection AddLogging(IServiceCollection services, Action<ILoggingBuilder> configure)
MemoryCacheServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.MemoryCacheServiceCollectionExtensions · assembly Microsoft.Extensions.Caching.Memory

Methods

MethodRing call.NET overloads
AddDistributedMemoryCacheAddDistributedMemoryCache(value)
AddDistributedMemoryCache([ :services = … ])
AddDistributedMemoryCache([ :services = …, :setupAction = … ])
static IServiceCollection AddDistributedMemoryCache(IServiceCollection services)
static IServiceCollection AddDistributedMemoryCache(IServiceCollection services, Action<MemoryDistributedCacheOptions> setupAction)
AddMemoryCacheAddMemoryCache(value)
AddMemoryCache([ :services = … ])
AddMemoryCache([ :services = …, :setupAction = … ])
static IServiceCollection AddMemoryCache(IServiceCollection services)
static IServiceCollection AddMemoryCache(IServiceCollection services, Action<MemoryCacheOptions> setupAction)
MetricsServiceExtensions class static

Microsoft.Extensions.DependencyInjection.MetricsServiceExtensions · assembly Microsoft.Extensions.Diagnostics

Methods

MethodRing call.NET overloads
AddMetricsAddMetrics(value)
AddMetrics([ :services = … ])
AddMetrics([ :services = …, :configure = … ])
static IServiceCollection AddMetrics(IServiceCollection services)
static IServiceCollection AddMetrics(IServiceCollection services, Action<IMetricsBuilder> configure)
MvcApiExplorerMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.ApiExplorer

Methods

MethodRing call.NET overloads
AddApiExplorerAddApiExplorer(p1)static IMvcCoreBuilder AddApiExplorer(IMvcCoreBuilder builder)
MvcCoreMvcBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Core

Methods

MethodRing call.NET overloads
AddApplicationPartAddApplicationPart(p1,p2)static IMvcBuilder AddApplicationPart(IMvcBuilder builder, Assembly assembly)
AddControllersAsServicesAddControllersAsServices(p1)static IMvcBuilder AddControllersAsServices(IMvcBuilder builder)
AddFormatterMappingsAddFormatterMappings(p1,p2)static IMvcBuilder AddFormatterMappings(IMvcBuilder builder, Action<FormatterMappings> setupAction)
AddJsonOptionsAddJsonOptions(p1,p2)static IMvcBuilder AddJsonOptions(IMvcBuilder builder, Action<JsonOptions> configure)
AddMvcOptionsAddMvcOptions(p1,p2)static IMvcBuilder AddMvcOptions(IMvcBuilder builder, Action<MvcOptions> setupAction)
ConfigureApiBehaviorOptionsConfigureApiBehaviorOptions(p1,p2)static IMvcBuilder ConfigureApiBehaviorOptions(IMvcBuilder builder, Action<ApiBehaviorOptions> setupAction)
ConfigureApplicationPartManagerConfigureApplicationPartManager(p1,p2)static IMvcBuilder ConfigureApplicationPartManager(IMvcBuilder builder, Action<ApplicationPartManager> setupAction)
SetCompatibilityVersionSetCompatibilityVersion(p1,p2)static IMvcBuilder SetCompatibilityVersion(IMvcBuilder builder, CompatibilityVersion version)
MvcCoreMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcCoreMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Core

Methods

MethodRing call.NET overloads
AddApplicationPartAddApplicationPart(p1,p2)static IMvcCoreBuilder AddApplicationPart(IMvcCoreBuilder builder, Assembly assembly)
AddAuthorizationAddAuthorization(value)
AddAuthorization([ :builder = … ])
AddAuthorization([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddAuthorization(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddAuthorization(IMvcCoreBuilder builder, Action<AuthorizationOptions> setupAction)
AddControllersAsServicesAddControllersAsServices(p1)static IMvcCoreBuilder AddControllersAsServices(IMvcCoreBuilder builder)
AddFormatterMappingsAddFormatterMappings(value)
AddFormatterMappings([ :builder = … ])
AddFormatterMappings([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddFormatterMappings(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddFormatterMappings(IMvcCoreBuilder builder, Action<FormatterMappings> setupAction)
AddJsonOptionsAddJsonOptions(p1,p2)static IMvcCoreBuilder AddJsonOptions(IMvcCoreBuilder builder, Action<JsonOptions> configure)
AddMvcOptionsAddMvcOptions(p1,p2)static IMvcCoreBuilder AddMvcOptions(IMvcCoreBuilder builder, Action<MvcOptions> setupAction)
ConfigureApiBehaviorOptionsConfigureApiBehaviorOptions(p1,p2)static IMvcCoreBuilder ConfigureApiBehaviorOptions(IMvcCoreBuilder builder, Action<ApiBehaviorOptions> setupAction)
ConfigureApplicationPartManagerConfigureApplicationPartManager(p1,p2)static IMvcCoreBuilder ConfigureApplicationPartManager(IMvcCoreBuilder builder, Action<ApplicationPartManager> setupAction)
SetCompatibilityVersionSetCompatibilityVersion(p1,p2)static IMvcCoreBuilder SetCompatibilityVersion(IMvcCoreBuilder builder, CompatibilityVersion version)
MvcCoreServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.MvcCoreServiceCollectionExtensions · assembly Microsoft.AspNetCore.Mvc.Core

Methods

MethodRing call.NET overloads
AddMvcCoreAddMvcCore(value)
AddMvcCore([ :services = … ])
AddMvcCore([ :services = …, :setupAction = … ])
static IMvcCoreBuilder AddMvcCore(IServiceCollection services)
static IMvcCoreBuilder AddMvcCore(IServiceCollection services, Action<MvcOptions> setupAction)
MvcCorsMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcCorsMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Cors

Methods

MethodRing call.NET overloads
AddCorsAddCors(value)
AddCors([ :builder = … ])
AddCors([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddCors(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddCors(IMvcCoreBuilder builder, Action<CorsOptions> setupAction)
ConfigureCorsConfigureCors(p1,p2)static IMvcCoreBuilder ConfigureCors(IMvcCoreBuilder builder, Action<CorsOptions> setupAction)
MvcDataAnnotationsMvcBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.DataAnnotations

Methods

MethodRing call.NET overloads
AddDataAnnotationsLocalizationAddDataAnnotationsLocalization(value)
AddDataAnnotationsLocalization([ :builder = … ])
AddDataAnnotationsLocalization([ :builder = …, :setupAction = … ])
static IMvcBuilder AddDataAnnotationsLocalization(IMvcBuilder builder)
static IMvcBuilder AddDataAnnotationsLocalization(IMvcBuilder builder, Action<MvcDataAnnotationsLocalizationOptions> setupAction)
MvcDataAnnotationsMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.DataAnnotations

Methods

MethodRing call.NET overloads
AddDataAnnotationsAddDataAnnotations(p1)static IMvcCoreBuilder AddDataAnnotations(IMvcCoreBuilder builder)
AddDataAnnotationsLocalizationAddDataAnnotationsLocalization(value)
AddDataAnnotationsLocalization([ :builder = … ])
AddDataAnnotationsLocalization([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddDataAnnotationsLocalization(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddDataAnnotationsLocalization(IMvcCoreBuilder builder, Action<MvcDataAnnotationsLocalizationOptions> setupAction)
MvcLocalizationMvcBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Localization

Methods

MethodRing call.NET overloads
AddMvcLocalizationAddMvcLocalization(value)
AddMvcLocalization([ :builder = … ])
AddMvcLocalization([ :builder = …, :localizationOptionsSetupAction = … ])
AddMvcLocalization([ :builder = …, :format = … ])
AddMvcLocalization([ :builder = …, :dataAnnotationsLocalizationOptionsSetupAction = … ])
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder)
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction)
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder, LanguageViewLocationExpanderFormat format)
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction, LanguageViewLocationExpanderFormat format)
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder, LanguageViewLocationExpanderFormat format, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
static IMvcBuilder AddMvcLocalization(IMvcBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction, LanguageViewLocationExpanderFormat format, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
AddViewLocalizationAddViewLocalization(value)
AddViewLocalization([ :builder = … ])
AddViewLocalization([ :builder = …, :format = … ])
AddViewLocalization([ :builder = …, :setupAction = … ])
AddViewLocalization([ :builder = …, :format = …, :setupAction = … ])
static IMvcBuilder AddViewLocalization(IMvcBuilder builder)
static IMvcBuilder AddViewLocalization(IMvcBuilder builder, LanguageViewLocationExpanderFormat format)
static IMvcBuilder AddViewLocalization(IMvcBuilder builder, Action<LocalizationOptions> setupAction)
static IMvcBuilder AddViewLocalization(IMvcBuilder builder, LanguageViewLocationExpanderFormat format, Action<LocalizationOptions> setupAction)
MvcLocalizationMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Localization

Methods

MethodRing call.NET overloads
AddMvcLocalizationAddMvcLocalization(value)
AddMvcLocalization([ :builder = … ])
AddMvcLocalization([ :builder = …, :localizationOptionsSetupAction = … ])
AddMvcLocalization([ :builder = …, :format = … ])
AddMvcLocalization([ :builder = …, :dataAnnotationsLocalizationOptionsSetupAction = … ])
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction)
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder, LanguageViewLocationExpanderFormat format)
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction, LanguageViewLocationExpanderFormat format)
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder, LanguageViewLocationExpanderFormat format, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
static IMvcCoreBuilder AddMvcLocalization(IMvcCoreBuilder builder, Action<LocalizationOptions> localizationOptionsSetupAction, LanguageViewLocationExpanderFormat format, Action<MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction)
AddViewLocalizationAddViewLocalization(value)
AddViewLocalization([ :builder = … ])
AddViewLocalization([ :builder = …, :format = … ])
AddViewLocalization([ :builder = …, :setupAction = … ])
AddViewLocalization([ :builder = …, :format = …, :setupAction = … ])
static IMvcCoreBuilder AddViewLocalization(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddViewLocalization(IMvcCoreBuilder builder, LanguageViewLocationExpanderFormat format)
static IMvcCoreBuilder AddViewLocalization(IMvcCoreBuilder builder, Action<LocalizationOptions> setupAction)
static IMvcCoreBuilder AddViewLocalization(IMvcCoreBuilder builder, LanguageViewLocationExpanderFormat format, Action<LocalizationOptions> setupAction)
MvcRazorMvcBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcRazorMvcBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Razor

Methods

MethodRing call.NET overloads
AddRazorOptionsAddRazorOptions(p1,p2)static IMvcBuilder AddRazorOptions(IMvcBuilder builder, Action<RazorViewEngineOptions> setupAction)
AddTagHelpersAsServicesAddTagHelpersAsServices(p1)static IMvcBuilder AddTagHelpersAsServices(IMvcBuilder builder)
InitializeTagHelperInitializeTagHelper(p1,p2)static IMvcBuilder InitializeTagHelper<TTagHelper>(IMvcBuilder builder, Action<TTagHelper, ViewContext> initialize)
MvcRazorMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcRazorMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Razor

Methods

MethodRing call.NET overloads
AddRazorViewEngineAddRazorViewEngine(value)
AddRazorViewEngine([ :builder = … ])
AddRazorViewEngine([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddRazorViewEngine(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddRazorViewEngine(IMvcCoreBuilder builder, Action<RazorViewEngineOptions> setupAction)
AddTagHelpersAsServicesAddTagHelpersAsServices(p1)static IMvcCoreBuilder AddTagHelpersAsServices(IMvcCoreBuilder builder)
InitializeTagHelperInitializeTagHelper(p1,p2)static IMvcCoreBuilder InitializeTagHelper<TTagHelper>(IMvcCoreBuilder builder, Action<TTagHelper, ViewContext> initialize)
MvcRazorPagesMvcBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.RazorPages

Methods

MethodRing call.NET overloads
AddRazorPagesOptionsAddRazorPagesOptions(p1,p2)static IMvcBuilder AddRazorPagesOptions(IMvcBuilder builder, Action<RazorPagesOptions> setupAction)
WithRazorPagesAtContentRootWithRazorPagesAtContentRoot(p1)static IMvcBuilder WithRazorPagesAtContentRoot(IMvcBuilder builder)
WithRazorPagesRootWithRazorPagesRoot(p1,p2)static IMvcBuilder WithRazorPagesRoot(IMvcBuilder builder, string rootDirectory)
MvcRazorPagesMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.RazorPages

Methods

MethodRing call.NET overloads
AddRazorPagesAddRazorPages(value)
AddRazorPages([ :builder = … ])
AddRazorPages([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddRazorPages(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddRazorPages(IMvcCoreBuilder builder, Action<RazorPagesOptions> setupAction)
WithRazorPagesRootWithRazorPagesRoot(p1,p2)static IMvcCoreBuilder WithRazorPagesRoot(IMvcCoreBuilder builder, string rootDirectory)
MvcServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions · assembly Microsoft.AspNetCore.Mvc

Methods

MethodRing call.NET overloads
AddControllersAddControllers(value)
AddControllers([ :services = … ])
AddControllers([ :services = …, :configure = … ])
static IMvcBuilder AddControllers(IServiceCollection services)
static IMvcBuilder AddControllers(IServiceCollection services, Action<MvcOptions> configure)
AddControllersWithViewsAddControllersWithViews(value)
AddControllersWithViews([ :services = … ])
AddControllersWithViews([ :services = …, :configure = … ])
static IMvcBuilder AddControllersWithViews(IServiceCollection services)
static IMvcBuilder AddControllersWithViews(IServiceCollection services, Action<MvcOptions> configure)
AddMvcAddMvc(value)
AddMvc([ :services = … ])
AddMvc([ :services = …, :setupAction = … ])
static IMvcBuilder AddMvc(IServiceCollection services)
static IMvcBuilder AddMvc(IServiceCollection services, Action<MvcOptions> setupAction)
AddRazorPagesAddRazorPages(value)
AddRazorPages([ :services = … ])
AddRazorPages([ :services = …, :configure = … ])
static IMvcBuilder AddRazorPages(IServiceCollection services)
static IMvcBuilder AddRazorPages(IServiceCollection services, Action<RazorPagesOptions> configure)
MvcViewFeaturesMvcBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.ViewFeatures

Methods

MethodRing call.NET overloads
AddCookieTempDataProviderAddCookieTempDataProvider(value)
AddCookieTempDataProvider([ :builder = … ])
AddCookieTempDataProvider([ :builder = …, :setupAction = … ])
static IMvcBuilder AddCookieTempDataProvider(IMvcBuilder builder)
static IMvcBuilder AddCookieTempDataProvider(IMvcBuilder builder, Action<CookieTempDataProviderOptions> setupAction)
AddSessionStateTempDataProviderAddSessionStateTempDataProvider(p1)static IMvcBuilder AddSessionStateTempDataProvider(IMvcBuilder builder)
AddViewComponentsAsServicesAddViewComponentsAsServices(p1)static IMvcBuilder AddViewComponentsAsServices(IMvcBuilder builder)
AddViewOptionsAddViewOptions(p1,p2)static IMvcBuilder AddViewOptions(IMvcBuilder builder, Action<MvcViewOptions> setupAction)
MvcViewFeaturesMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.ViewFeatures

Methods

MethodRing call.NET overloads
AddCookieTempDataProviderAddCookieTempDataProvider(value)
AddCookieTempDataProvider([ :builder = … ])
AddCookieTempDataProvider([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddCookieTempDataProvider(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddCookieTempDataProvider(IMvcCoreBuilder builder, Action<CookieTempDataProviderOptions> setupAction)
AddViewsAddViews(value)
AddViews([ :builder = … ])
AddViews([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddViews(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddViews(IMvcCoreBuilder builder, Action<MvcViewOptions> setupAction)
ConfigureViewsConfigureViews(p1,p2)static IMvcCoreBuilder ConfigureViews(IMvcCoreBuilder builder, Action<MvcViewOptions> setupAction)
MvcXmlMvcBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcXmlMvcBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Formatters.Xml

Methods

MethodRing call.NET overloads
AddXmlDataContractSerializerFormattersAddXmlDataContractSerializerFormatters(value)
AddXmlDataContractSerializerFormatters([ :builder = … ])
AddXmlDataContractSerializerFormatters([ :builder = …, :setupAction = … ])
static IMvcBuilder AddXmlDataContractSerializerFormatters(IMvcBuilder builder)
static IMvcBuilder AddXmlDataContractSerializerFormatters(IMvcBuilder builder, Action<MvcXmlOptions> setupAction)
AddXmlOptionsAddXmlOptions(p1,p2)static IMvcBuilder AddXmlOptions(IMvcBuilder builder, Action<MvcXmlOptions> setupAction)
AddXmlSerializerFormattersAddXmlSerializerFormatters(value)
AddXmlSerializerFormatters([ :builder = … ])
AddXmlSerializerFormatters([ :builder = …, :setupAction = … ])
static IMvcBuilder AddXmlSerializerFormatters(IMvcBuilder builder)
static IMvcBuilder AddXmlSerializerFormatters(IMvcBuilder builder, Action<MvcXmlOptions> setupAction)
MvcXmlMvcCoreBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.MvcXmlMvcCoreBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Formatters.Xml

Methods

MethodRing call.NET overloads
AddXmlDataContractSerializerFormattersAddXmlDataContractSerializerFormatters(value)
AddXmlDataContractSerializerFormatters([ :builder = … ])
AddXmlDataContractSerializerFormatters([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddXmlDataContractSerializerFormatters(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddXmlDataContractSerializerFormatters(IMvcCoreBuilder builder, Action<MvcXmlOptions> setupAction)
AddXmlOptionsAddXmlOptions(p1,p2)static IMvcCoreBuilder AddXmlOptions(IMvcCoreBuilder builder, Action<MvcXmlOptions> setupAction)
AddXmlSerializerFormattersAddXmlSerializerFormatters(value)
AddXmlSerializerFormatters([ :builder = … ])
AddXmlSerializerFormatters([ :builder = …, :setupAction = … ])
static IMvcCoreBuilder AddXmlSerializerFormatters(IMvcCoreBuilder builder)
static IMvcCoreBuilder AddXmlSerializerFormatters(IMvcCoreBuilder builder, Action<MvcXmlOptions> setupAction)
OAuthExtensions class static

Microsoft.Extensions.DependencyInjection.OAuthExtensions · assembly Microsoft.AspNetCore.Authentication.OAuth

Methods

MethodRing call.NET overloads
AddOAuthAddOAuth([ :builder = …, :authenticationScheme = …, :configureOptions = … ])
AddOAuth([ :builder = …, :authenticationScheme = …, :displayName = …, :configureOptions = … ])
static AuthenticationBuilder AddOAuth(AuthenticationBuilder builder, string authenticationScheme, Action<OAuthOptions> configureOptions)
static AuthenticationBuilder AddOAuth(AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<OAuthOptions> configureOptions)
static AuthenticationBuilder AddOAuth<TOptions, THandler>(AuthenticationBuilder builder, string authenticationScheme, Action<TOptions> configureOptions)
static AuthenticationBuilder AddOAuth<TOptions, THandler>(AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<TOptions> configureOptions)
OAuthPostConfigureOptions class

Microsoft.Extensions.DependencyInjection.OAuthPostConfigureOptions`2 · assembly Microsoft.AspNetCore.Authentication.OAuth

OptionsBuilderConfigurationExtensions class static

Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions · assembly Microsoft.Extensions.Options.ConfigurationExtensions

Methods

MethodRing call.NET overloads
BindBind([ :optionsBuilder = …, :config = … ])
Bind([ :optionsBuilder = …, :config = …, :configureBinder = … ])
static OptionsBuilder<TOptions> Bind<TOptions>(OptionsBuilder<TOptions> optionsBuilder, IConfiguration config)
static OptionsBuilder<TOptions> Bind<TOptions>(OptionsBuilder<TOptions> optionsBuilder, IConfiguration config, Action<BinderOptions> configureBinder)
BindConfigurationBindConfiguration([ :optionsBuilder = …, :configSectionPath = …, :configureBinder = … ])static OptionsBuilder<TOptions> BindConfiguration<TOptions>(OptionsBuilder<TOptions> optionsBuilder, string configSectionPath, Action<BinderOptions> configureBinder = …)
OptionsBuilderDataAnnotationsExtensions class static

Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions · assembly Microsoft.Extensions.Options.DataAnnotations

Methods

MethodRing call.NET overloads
ValidateDataAnnotationsValidateDataAnnotations(p1)static OptionsBuilder<TOptions> ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions> optionsBuilder)
OptionsBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions · assembly Microsoft.Extensions.Options

Methods

MethodRing call.NET overloads
ValidateOnStartValidateOnStart(p1)static OptionsBuilder<TOptions> ValidateOnStart<TOptions>(OptionsBuilder<TOptions> optionsBuilder)
OptionsConfigurationServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions · assembly Microsoft.Extensions.Options.ConfigurationExtensions

Methods

MethodRing call.NET overloads
ConfigureConfigure([ :services = …, :config = … ])
Configure([ :services = …, :name = …, :config = … ])
Configure([ :services = …, :config = …, :configureBinder = … ])
Configure([ :services = …, :name = …, :config = …, :configureBinder = … ])
static IServiceCollection Configure<TOptions>(IServiceCollection services, IConfiguration config)
static IServiceCollection Configure<TOptions>(IServiceCollection services, string name, IConfiguration config)
static IServiceCollection Configure<TOptions>(IServiceCollection services, IConfiguration config, Action<BinderOptions> configureBinder)
static IServiceCollection Configure<TOptions>(IServiceCollection services, string name, IConfiguration config, Action<BinderOptions> configureBinder)
OptionsServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.OptionsServiceCollectionExtensions · assembly Microsoft.Extensions.Options

Methods

MethodRing call.NET overloads
AddOptionsAddOptions(value)
AddOptions([ :services = … ])
AddOptions([ :services = …, :name = … ])
static IServiceCollection AddOptions(IServiceCollection services)
static OptionsBuilder<TOptions> AddOptions<TOptions>(IServiceCollection services)
static OptionsBuilder<TOptions> AddOptions<TOptions>(IServiceCollection services, string name)
AddOptionsWithValidateOnStartAddOptionsWithValidateOnStart([ :services = …, :name = … ])static OptionsBuilder<TOptions> AddOptionsWithValidateOnStart<TOptions>(IServiceCollection services, string name = …)
static OptionsBuilder<TOptions> AddOptionsWithValidateOnStart<TOptions, TValidateOptions>(IServiceCollection services, string name = …)
ConfigureConfigure([ :services = …, :configureOptions = … ])
Configure([ :services = …, :name = …, :configureOptions = … ])
static IServiceCollection Configure<TOptions>(IServiceCollection services, Action<TOptions> configureOptions)
static IServiceCollection Configure<TOptions>(IServiceCollection services, string name, Action<TOptions> configureOptions)
ConfigureAllConfigureAll(p1,p2)static IServiceCollection ConfigureAll<TOptions>(IServiceCollection services, Action<TOptions> configureOptions)
ConfigureOptionsConfigureOptions(value)
ConfigureOptions([ :services = … ])
ConfigureOptions([ :services = …, :configureType = … ])
ConfigureOptions([ :services = …, :configureInstance = … ])
static IServiceCollection ConfigureOptions<TConfigureOptions>(IServiceCollection services)
static IServiceCollection ConfigureOptions(IServiceCollection services, Type configureType)
static IServiceCollection ConfigureOptions(IServiceCollection services, object configureInstance)
PostConfigurePostConfigure([ :services = …, :configureOptions = … ])
PostConfigure([ :services = …, :name = …, :configureOptions = … ])
static IServiceCollection PostConfigure<TOptions>(IServiceCollection services, Action<TOptions> configureOptions)
static IServiceCollection PostConfigure<TOptions>(IServiceCollection services, string name, Action<TOptions> configureOptions)
PostConfigureAllPostConfigureAll(p1,p2)static IServiceCollection PostConfigureAll<TOptions>(IServiceCollection services, Action<TOptions> configureOptions)
OutputCacheConventionBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.OutputCacheConventionBuilderExtensions · assembly Microsoft.AspNetCore.OutputCaching

Methods

MethodRing call.NET overloads
CacheOutputCacheOutput(value)
CacheOutput([ :builder = … ])
CacheOutput([ :builder = …, :policy = … ])
CacheOutput([ :builder = …, :policyName = … ])
CacheOutput([ :builder = …, :policy = …, :excludeDefaultPolicy = … ])
static TBuilder CacheOutput<TBuilder>(TBuilder builder)
static TBuilder CacheOutput<TBuilder>(TBuilder builder, IOutputCachePolicy policy)
static TBuilder CacheOutput<TBuilder>(TBuilder builder, Action<OutputCachePolicyBuilder> policy)
static TBuilder CacheOutput<TBuilder>(TBuilder builder, Action<OutputCachePolicyBuilder> policy, bool excludeDefaultPolicy)
static TBuilder CacheOutput<TBuilder>(TBuilder builder, string policyName)
OutputCacheServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.OutputCacheServiceCollectionExtensions · assembly Microsoft.AspNetCore.OutputCaching

Methods

MethodRing call.NET overloads
AddOutputCacheAddOutputCache(value)
AddOutputCache([ :services = … ])
AddOutputCache([ :services = …, :configureOptions = … ])
static IServiceCollection AddOutputCache(IServiceCollection services)
static IServiceCollection AddOutputCache(IServiceCollection services, Action<OutputCacheOptions> configureOptions)
PageConventionCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.PageConventionCollectionExtensions · assembly Microsoft.AspNetCore.Mvc.RazorPages

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static PageConventionCollection Add(PageConventionCollection conventions, IParameterModelBaseConvention convention)
AddAreaPageRouteAddAreaPageRoute(p1,p2,p3,p4)static PageConventionCollection AddAreaPageRoute(PageConventionCollection conventions, string areaName, string pageName, string route)
AddPageRouteAddPageRoute(p1,p2,p3)static PageConventionCollection AddPageRoute(PageConventionCollection conventions, string pageName, string route)
AllowAnonymousToAreaFolderAllowAnonymousToAreaFolder(p1,p2,p3)static PageConventionCollection AllowAnonymousToAreaFolder(PageConventionCollection conventions, string areaName, string folderPath)
AllowAnonymousToAreaPageAllowAnonymousToAreaPage(p1,p2,p3)static PageConventionCollection AllowAnonymousToAreaPage(PageConventionCollection conventions, string areaName, string pageName)
AllowAnonymousToFolderAllowAnonymousToFolder(p1,p2)static PageConventionCollection AllowAnonymousToFolder(PageConventionCollection conventions, string folderPath)
AllowAnonymousToPageAllowAnonymousToPage(p1,p2)static PageConventionCollection AllowAnonymousToPage(PageConventionCollection conventions, string pageName)
AuthorizeAreaFolderAuthorizeAreaFolder([ :conventions = …, :areaName = …, :folderPath = … ])
AuthorizeAreaFolder([ :conventions = …, :areaName = …, :folderPath = …, :policy = … ])
static PageConventionCollection AuthorizeAreaFolder(PageConventionCollection conventions, string areaName, string folderPath)
static PageConventionCollection AuthorizeAreaFolder(PageConventionCollection conventions, string areaName, string folderPath, string policy)
AuthorizeAreaPageAuthorizeAreaPage([ :conventions = …, :areaName = …, :pageName = … ])
AuthorizeAreaPage([ :conventions = …, :areaName = …, :pageName = …, :policy = … ])
static PageConventionCollection AuthorizeAreaPage(PageConventionCollection conventions, string areaName, string pageName)
static PageConventionCollection AuthorizeAreaPage(PageConventionCollection conventions, string areaName, string pageName, string policy)
AuthorizeFolderAuthorizeFolder([ :conventions = …, :folderPath = … ])
AuthorizeFolder([ :conventions = …, :folderPath = …, :policy = … ])
static PageConventionCollection AuthorizeFolder(PageConventionCollection conventions, string folderPath, string policy)
static PageConventionCollection AuthorizeFolder(PageConventionCollection conventions, string folderPath)
AuthorizePageAuthorizePage([ :conventions = …, :pageName = … ])
AuthorizePage([ :conventions = …, :pageName = …, :policy = … ])
static PageConventionCollection AuthorizePage(PageConventionCollection conventions, string pageName, string policy)
static PageConventionCollection AuthorizePage(PageConventionCollection conventions, string pageName)
ConfigureFilterConfigureFilter(p1,p2)static IPageApplicationModelConvention ConfigureFilter(PageConventionCollection conventions, Func<PageApplicationModel, IFilterMetadata> factory)
static PageConventionCollection ConfigureFilter(PageConventionCollection conventions, IFilterMetadata filter)
PolicyServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.PolicyServiceCollectionExtensions · assembly Microsoft.AspNetCore.Authorization.Policy

Methods

MethodRing call.NET overloads
AddAuthorizationAddAuthorization(value)
AddAuthorization([ :services = … ])
AddAuthorization([ :services = …, :configure = … ])
static IServiceCollection AddAuthorization(IServiceCollection services)
static IServiceCollection AddAuthorization(IServiceCollection services, Action<AuthorizationOptions> configure)
AddAuthorizationBuilderAddAuthorizationBuilder(p1)static AuthorizationBuilder AddAuthorizationBuilder(IServiceCollection services)
AddAuthorizationPolicyEvaluatorAddAuthorizationPolicyEvaluator(p1)static IServiceCollection AddAuthorizationPolicyEvaluator(IServiceCollection services)
ProblemDetailsServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.ProblemDetailsServiceCollectionExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
AddProblemDetailsAddProblemDetails(value)
AddProblemDetails([ :services = … ])
AddProblemDetails([ :services = …, :configure = … ])
static IServiceCollection AddProblemDetails(IServiceCollection services)
static IServiceCollection AddProblemDetails(IServiceCollection services, Action<ProblemDetailsOptions> configure)
RazorComponentsServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.RazorComponentsServiceCollectionExtensions · assembly Microsoft.AspNetCore.Components.Endpoints

Methods

MethodRing call.NET overloads
AddRazorComponentsAddRazorComponents([ :services = …, :configure = … ])static IRazorComponentsBuilder AddRazorComponents(IServiceCollection services, Action<RazorComponentsServiceOptions> configure = …)
RequestDecompressionServiceExtensions class static

Microsoft.Extensions.DependencyInjection.RequestDecompressionServiceExtensions · assembly Microsoft.AspNetCore.RequestDecompression

Methods

MethodRing call.NET overloads
AddRequestDecompressionAddRequestDecompression(value)
AddRequestDecompression([ :services = … ])
AddRequestDecompression([ :services = …, :configureOptions = … ])
static IServiceCollection AddRequestDecompression(IServiceCollection services)
static IServiceCollection AddRequestDecompression(IServiceCollection services, Action<RequestDecompressionOptions> configureOptions)
RequestLocalizationServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.RequestLocalizationServiceCollectionExtensions · assembly Microsoft.AspNetCore.Localization

Methods

MethodRing call.NET overloads
AddRequestLocalizationAddRequestLocalization(p1,p2)static IServiceCollection AddRequestLocalization(IServiceCollection services, Action<RequestLocalizationOptions> configureOptions)
static IServiceCollection AddRequestLocalization<TService>(IServiceCollection services, Action<RequestLocalizationOptions, TService> configureOptions)
RequestTimeoutsIServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.RequestTimeoutsIServiceCollectionExtensions · assembly Microsoft.AspNetCore.Http

Methods

MethodRing call.NET overloads
AddRequestTimeoutsAddRequestTimeouts(value)
AddRequestTimeouts([ :services = … ])
AddRequestTimeouts([ :services = …, :configure = … ])
static IServiceCollection AddRequestTimeouts(IServiceCollection services)
static IServiceCollection AddRequestTimeouts(IServiceCollection services, Action<RequestTimeoutOptions> configure)
ResponseCachingServicesExtensions class static

Microsoft.Extensions.DependencyInjection.ResponseCachingServicesExtensions · assembly Microsoft.AspNetCore.ResponseCaching

Methods

MethodRing call.NET overloads
AddResponseCachingAddResponseCaching(value)
AddResponseCaching([ :services = … ])
AddResponseCaching([ :services = …, :configureOptions = … ])
static IServiceCollection AddResponseCaching(IServiceCollection services)
static IServiceCollection AddResponseCaching(IServiceCollection services, Action<ResponseCachingOptions> configureOptions)
RoutingServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.RoutingServiceCollectionExtensions · assembly Microsoft.AspNetCore.Routing

Methods

MethodRing call.NET overloads
AddRoutingAddRouting(value)
AddRouting([ :services = … ])
AddRouting([ :services = …, :configureOptions = … ])
static IServiceCollection AddRouting(IServiceCollection services)
static IServiceCollection AddRouting(IServiceCollection services, Action<RouteOptions> configureOptions)
AddRoutingCoreAddRoutingCore(p1)static IServiceCollection AddRoutingCore(IServiceCollection services)
ServerRazorComponentsBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.ServerRazorComponentsBuilderExtensions · assembly Microsoft.AspNetCore.Components.Server

Methods

MethodRing call.NET overloads
AddInteractiveServerComponentsAddInteractiveServerComponents([ :builder = …, :configure = … ])static IServerSideBlazorBuilder AddInteractiveServerComponents(IRazorComponentsBuilder builder, Action<CircuitOptions> configure = …)
ServerSideBlazorBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.ServerSideBlazorBuilderExtensions · assembly Microsoft.AspNetCore.Components.Server

Methods

MethodRing call.NET overloads
AddCircuitOptionsAddCircuitOptions(p1,p2)static IServerSideBlazorBuilder AddCircuitOptions(IServerSideBlazorBuilder builder, Action<CircuitOptions> configure)
AddHubOptionsAddHubOptions(p1,p2)static IServerSideBlazorBuilder AddHubOptions(IServerSideBlazorBuilder builder, Action<HubOptions> configure)
ServiceCollection class

Microsoft.Extensions.DependencyInjection.ServiceCollection · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Implements: IEnumerable

Constructors

new ServiceCollection()

Ring: new ServiceCollection(args) uses one constructor; the others are chosen by the parameter names: new ServiceCollection().@New([ :param = value ]) or dnNew("ServiceCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
IsReadOnlyboolreado.IsReadOnly

Indexer

o.Item(int index) → ServiceDescriptor · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
ClearcallMethod("Clear",[])void Clear()
ContainsContains(p1)bool Contains(ServiceDescriptor item)
CopyToCopyTo(p1,p2)void CopyTo(ServiceDescriptor[] array, int arrayIndex)
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator<ServiceDescriptor> GetEnumerator()
IndexOfIndexOf(p1)int IndexOf(ServiceDescriptor item)
InsertInsert(p1,p2)void Insert(int index, ServiceDescriptor item)
MakeReadOnlycallMethod("MakeReadOnly",[])void MakeReadOnly()
RemoveRemove(p1)bool Remove(ServiceDescriptor item)
RemoveAtcallMethod("RemoveAt",[p1])void RemoveAt(int index)
ServiceCollectionContainerBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions · assembly Microsoft.Extensions.DependencyInjection

Methods

MethodRing call.NET overloads
BuildServiceProviderBuildServiceProvider(value)
BuildServiceProvider([ :services = … ])
BuildServiceProvider([ :services = …, :validateScopes = … ])
BuildServiceProvider([ :services = …, :options = … ])
static ServiceProvider BuildServiceProvider(IServiceCollection services)
static ServiceProvider BuildServiceProvider(IServiceCollection services, bool validateScopes)
static ServiceProvider BuildServiceProvider(IServiceCollection services, ServiceProviderOptions options)
ServiceCollectionHostedServiceExtensions class static

Microsoft.Extensions.DependencyInjection.ServiceCollectionHostedServiceExtensions · assembly Microsoft.Extensions.Hosting.Abstractions

Methods

MethodRing call.NET overloads
AddHostedServiceAddHostedService(value)
AddHostedService([ :services = … ])
AddHostedService([ :services = …, :implementationFactory = … ])
static IServiceCollection AddHostedService<THostedService>(IServiceCollection services)
static IServiceCollection AddHostedService<THostedService>(IServiceCollection services, Func<IServiceProvider, THostedService> implementationFactory)
ServiceCollectionServiceExtensions class static

Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
AddKeyedScopedAddKeyedScoped([ :services = …, :serviceKey = … ])
AddKeyedScoped([ :services = …, :serviceType = …, :serviceKey = … ])
AddKeyedScoped([ :services = …, :serviceKey = …, :implementationFactory = … ])
AddKeyedScoped([ :services = …, :serviceType = …, :serviceKey = …, :implementationType = … ])
static IServiceCollection AddKeyedScoped(IServiceCollection services, Type serviceType, object serviceKey, Type implementationType)
static IServiceCollection AddKeyedScoped(IServiceCollection services, Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
static IServiceCollection AddKeyedScoped<TService, TImplementation>(IServiceCollection services, object serviceKey)
static IServiceCollection AddKeyedScoped(IServiceCollection services, Type serviceType, object serviceKey)
static IServiceCollection AddKeyedScoped<TService>(IServiceCollection services, object serviceKey)
static IServiceCollection AddKeyedScoped<TService>(IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
static IServiceCollection AddKeyedScoped<TService, TImplementation>(IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory)
AddKeyedSingletonAddKeyedSingleton([ :services = …, :serviceKey = … ])
AddKeyedSingleton([ :services = …, :serviceType = …, :serviceKey = … ])
AddKeyedSingleton([ :services = …, :serviceKey = …, :implementationFactory = … ])
AddKeyedSingleton([ :services = …, :serviceKey = …, :implementationInstance = … ])
static IServiceCollection AddKeyedSingleton(IServiceCollection services, Type serviceType, object serviceKey, Type implementationType)
static IServiceCollection AddKeyedSingleton(IServiceCollection services, Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
static IServiceCollection AddKeyedSingleton<TService, TImplementation>(IServiceCollection services, object serviceKey)
static IServiceCollection AddKeyedSingleton(IServiceCollection services, Type serviceType, object serviceKey)
static IServiceCollection AddKeyedSingleton<TService>(IServiceCollection services, object serviceKey)
static IServiceCollection AddKeyedSingleton<TService>(IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
static IServiceCollection AddKeyedSingleton<TService, TImplementation>(IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory)
static IServiceCollection AddKeyedSingleton(IServiceCollection services, Type serviceType, object serviceKey, object implementationInstance)
static IServiceCollection AddKeyedSingleton<TService>(IServiceCollection services, object serviceKey, TService implementationInstance)
AddKeyedTransientAddKeyedTransient([ :services = …, :serviceKey = … ])
AddKeyedTransient([ :services = …, :serviceType = …, :serviceKey = … ])
AddKeyedTransient([ :services = …, :serviceKey = …, :implementationFactory = … ])
AddKeyedTransient([ :services = …, :serviceType = …, :serviceKey = …, :implementationType = … ])
static IServiceCollection AddKeyedTransient(IServiceCollection services, Type serviceType, object serviceKey, Type implementationType)
static IServiceCollection AddKeyedTransient(IServiceCollection services, Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
static IServiceCollection AddKeyedTransient<TService, TImplementation>(IServiceCollection services, object serviceKey)
static IServiceCollection AddKeyedTransient(IServiceCollection services, Type serviceType, object serviceKey)
static IServiceCollection AddKeyedTransient<TService>(IServiceCollection services, object serviceKey)
static IServiceCollection AddKeyedTransient<TService>(IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
static IServiceCollection AddKeyedTransient<TService, TImplementation>(IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory)
AddScopedAddScoped(value)
AddScoped([ :services = … ])
AddScoped([ :services = …, :serviceType = … ])
AddScoped([ :services = …, :implementationFactory = … ])
AddScoped([ :services = …, :serviceType = …, :implementationType = … ])
static IServiceCollection AddScoped(IServiceCollection services, Type serviceType, Type implementationType)
static IServiceCollection AddScoped(IServiceCollection services, Type serviceType, Func<IServiceProvider, object> implementationFactory)
static IServiceCollection AddScoped<TService, TImplementation>(IServiceCollection services)
static IServiceCollection AddScoped(IServiceCollection services, Type serviceType)
static IServiceCollection AddScoped<TService>(IServiceCollection services)
static IServiceCollection AddScoped<TService>(IServiceCollection services, Func<IServiceProvider, TService> implementationFactory)
static IServiceCollection AddScoped<TService, TImplementation>(IServiceCollection services, Func<IServiceProvider, TImplementation> implementationFactory)
AddSingletonAddSingleton(value)
AddSingleton([ :services = … ])
AddSingleton([ :services = …, :serviceType = … ])
AddSingleton([ :services = …, :implementationFactory = … ])
AddSingleton([ :services = …, :implementationInstance = … ])
static IServiceCollection AddSingleton(IServiceCollection services, Type serviceType, Type implementationType)
static IServiceCollection AddSingleton(IServiceCollection services, Type serviceType, Func<IServiceProvider, object> implementationFactory)
static IServiceCollection AddSingleton<TService, TImplementation>(IServiceCollection services)
static IServiceCollection AddSingleton(IServiceCollection services, Type serviceType)
static IServiceCollection AddSingleton<TService>(IServiceCollection services)
static IServiceCollection AddSingleton<TService>(IServiceCollection services, Func<IServiceProvider, TService> implementationFactory)
static IServiceCollection AddSingleton<TService, TImplementation>(IServiceCollection services, Func<IServiceProvider, TImplementation> implementationFactory)
static IServiceCollection AddSingleton(IServiceCollection services, Type serviceType, object implementationInstance)
static IServiceCollection AddSingleton<TService>(IServiceCollection services, TService implementationInstance)
AddTransientAddTransient(value)
AddTransient([ :services = … ])
AddTransient([ :services = …, :serviceType = … ])
AddTransient([ :services = …, :implementationFactory = … ])
AddTransient([ :services = …, :serviceType = …, :implementationType = … ])
static IServiceCollection AddTransient(IServiceCollection services, Type serviceType, Type implementationType)
static IServiceCollection AddTransient(IServiceCollection services, Type serviceType, Func<IServiceProvider, object> implementationFactory)
static IServiceCollection AddTransient<TService, TImplementation>(IServiceCollection services)
static IServiceCollection AddTransient(IServiceCollection services, Type serviceType)
static IServiceCollection AddTransient<TService>(IServiceCollection services)
static IServiceCollection AddTransient<TService>(IServiceCollection services, Func<IServiceProvider, TService> implementationFactory)
static IServiceCollection AddTransient<TService, TImplementation>(IServiceCollection services, Func<IServiceProvider, TImplementation> implementationFactory)
ServiceDescriptor class

Microsoft.Extensions.DependencyInjection.ServiceDescriptor · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Constructors

new ServiceDescriptor(Type serviceType, Type implementationType, ServiceLifetime lifetime)
new ServiceDescriptor(Type serviceType, object serviceKey, Type implementationType, ServiceLifetime lifetime)
new ServiceDescriptor(Type serviceType, object instance)
new ServiceDescriptor(Type serviceType, object serviceKey, object instance)
new ServiceDescriptor(Type serviceType, Func<IServiceProvider, object> factory, ServiceLifetime lifetime)
new ServiceDescriptor(Type serviceType, object serviceKey, Func<IServiceProvider, object, object> factory, ServiceLifetime lifetime)

Ring: new ServiceDescriptor(args) uses one constructor; the others are chosen by the parameter names: new ServiceDescriptor().@New([ :param = value ]) or dnNew("ServiceDescriptor",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
LifetimeServiceLifetimereado.Lifetime
ServiceKeyobjectreado.ServiceKey
ServiceTypeTypereado.ServiceType
ImplementationTypeTypereado.ImplementationType
KeyedImplementationTypeTypereado.KeyedImplementationType
ImplementationInstanceobjectreado.ImplementationInstance
KeyedImplementationInstanceobjectreado.KeyedImplementationInstance
ImplementationFactoryFunc<IServiceProvider, object>reado.ImplementationFactory
KeyedImplementationFactoryFunc<IServiceProvider, object, object>reado.KeyedImplementationFactory
IsKeyedServiceboolreado.IsKeyedService

Methods

MethodRing call.NET overloads
DescribeDescribe(p1,p2,p3)static ServiceDescriptor Describe(Type serviceType, Type implementationType, ServiceLifetime lifetime)
static ServiceDescriptor Describe(Type serviceType, Func<IServiceProvider, object> implementationFactory, ServiceLifetime lifetime)
DescribeKeyedDescribeKeyed(p1,p2,p3,p4)static ServiceDescriptor DescribeKeyed(Type serviceType, object serviceKey, Type implementationType, ServiceLifetime lifetime)
static ServiceDescriptor DescribeKeyed(Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory, ServiceLifetime lifetime)
KeyedScopedKeyedScoped(value)
KeyedScoped([ :serviceKey = … ])
KeyedScoped([ :serviceKey = …, :implementationFactory = … ])
KeyedScoped([ :service = …, :serviceKey = …, :implementationType = … ])
KeyedScoped([ :service = …, :serviceKey = …, :implementationFactory = … ])
static ServiceDescriptor KeyedScoped<TService, TImplementation>(object serviceKey)
static ServiceDescriptor KeyedScoped(Type service, object serviceKey, Type implementationType)
static ServiceDescriptor KeyedScoped<TService, TImplementation>(object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory)
static ServiceDescriptor KeyedScoped<TService>(object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
static ServiceDescriptor KeyedScoped(Type service, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
KeyedSingletonKeyedSingleton(value)
KeyedSingleton([ :serviceKey = … ])
KeyedSingleton([ :serviceKey = …, :implementationFactory = … ])
KeyedSingleton([ :serviceKey = …, :implementationInstance = … ])
KeyedSingleton([ :service = …, :serviceKey = …, :implementationType = … ])
static ServiceDescriptor KeyedSingleton<TService, TImplementation>(object serviceKey)
static ServiceDescriptor KeyedSingleton(Type service, object serviceKey, Type implementationType)
static ServiceDescriptor KeyedSingleton<TService, TImplementation>(object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory)
static ServiceDescriptor KeyedSingleton<TService>(object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
static ServiceDescriptor KeyedSingleton(Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
static ServiceDescriptor KeyedSingleton<TService>(object serviceKey, TService implementationInstance)
static ServiceDescriptor KeyedSingleton(Type serviceType, object serviceKey, object implementationInstance)
KeyedTransientKeyedTransient(value)
KeyedTransient([ :serviceKey = … ])
KeyedTransient([ :serviceKey = …, :implementationFactory = … ])
KeyedTransient([ :service = …, :serviceKey = …, :implementationType = … ])
KeyedTransient([ :service = …, :serviceKey = …, :implementationFactory = … ])
static ServiceDescriptor KeyedTransient<TService, TImplementation>(object serviceKey)
static ServiceDescriptor KeyedTransient(Type service, object serviceKey, Type implementationType)
static ServiceDescriptor KeyedTransient<TService, TImplementation>(object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory)
static ServiceDescriptor KeyedTransient<TService>(object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
static ServiceDescriptor KeyedTransient(Type service, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
ScopedScoped(NULL)
Scoped(value)
Scoped([ :implementationFactory = … ])
Scoped([ :service = …, :implementationType = … ])
Scoped([ :service = …, :implementationFactory = … ])
static ServiceDescriptor Scoped<TService, TImplementation>()
static ServiceDescriptor Scoped(Type service, Type implementationType)
static ServiceDescriptor Scoped<TService, TImplementation>(Func<IServiceProvider, TImplementation> implementationFactory)
static ServiceDescriptor Scoped<TService>(Func<IServiceProvider, TService> implementationFactory)
static ServiceDescriptor Scoped(Type service, Func<IServiceProvider, object> implementationFactory)
SingletonSingleton(NULL)
Singleton(value)
Singleton([ :implementationFactory = … ])
Singleton([ :implementationInstance = … ])
Singleton([ :service = …, :implementationType = … ])
Singleton([ :serviceType = …, :implementationFactory = … ])
static ServiceDescriptor Singleton<TService, TImplementation>()
static ServiceDescriptor Singleton(Type service, Type implementationType)
static ServiceDescriptor Singleton<TService, TImplementation>(Func<IServiceProvider, TImplementation> implementationFactory)
static ServiceDescriptor Singleton<TService>(Func<IServiceProvider, TService> implementationFactory)
static ServiceDescriptor Singleton(Type serviceType, Func<IServiceProvider, object> implementationFactory)
static ServiceDescriptor Singleton<TService>(TService implementationInstance)
static ServiceDescriptor Singleton(Type serviceType, object implementationInstance)
ToStringcallMethod("ToString",[])string ToString()
TransientTransient(NULL)
Transient(value)
Transient([ :implementationFactory = … ])
Transient([ :service = …, :implementationType = … ])
Transient([ :service = …, :implementationFactory = … ])
static ServiceDescriptor Transient<TService, TImplementation>()
static ServiceDescriptor Transient(Type service, Type implementationType)
static ServiceDescriptor Transient<TService, TImplementation>(Func<IServiceProvider, TImplementation> implementationFactory)
static ServiceDescriptor Transient<TService>(Func<IServiceProvider, TService> implementationFactory)
static ServiceDescriptor Transient(Type service, Func<IServiceProvider, object> implementationFactory)
ServiceKeyAttribute class · extends Attribute

Microsoft.Extensions.DependencyInjection.ServiceKeyAttribute · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Constructors

new ServiceKeyAttribute()

Ring: new ServiceKeyAttribute(args) uses one constructor; the others are chosen by the parameter names: new ServiceKeyAttribute().@New([ :param = value ]) or dnNew("ServiceKeyAttribute",[ :param = value ]).

Members of the base class are inherited.

ServiceProvider class sealed

Microsoft.Extensions.DependencyInjection.ServiceProvider · assembly Microsoft.Extensions.DependencyInjection

Implements: IServiceProvider, IDisposable, IAsyncDisposable

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
GetKeyedServicecallMethod("GetKeyedService",[p1,p2])object GetKeyedService(Type serviceType, object serviceKey)
GetRequiredKeyedServicecallMethod("GetRequiredKeyedService",[p1,p2])object GetRequiredKeyedService(Type serviceType, object serviceKey)
GetServicecallMethod("GetService",[p1])object GetService(Type serviceType)
ServiceProviderKeyedServiceExtensions class static

Microsoft.Extensions.DependencyInjection.ServiceProviderKeyedServiceExtensions · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
GetKeyedServiceGetKeyedService([ :provider = …, :serviceKey = … ])static T GetKeyedService<T>(IServiceProvider provider, object serviceKey)
GetKeyedServicesGetKeyedServices([ :provider = …, :serviceKey = … ])
GetKeyedServices([ :provider = …, :serviceType = …, :serviceKey = … ])
static IEnumerable<T> GetKeyedServices<T>(IServiceProvider provider, object serviceKey)
static IEnumerable<object> GetKeyedServices(IServiceProvider provider, Type serviceType, object serviceKey)
GetRequiredKeyedServiceGetRequiredKeyedService([ :provider = …, :serviceKey = … ])
GetRequiredKeyedService([ :provider = …, :serviceType = …, :serviceKey = … ])
static object GetRequiredKeyedService(IServiceProvider provider, Type serviceType, object serviceKey)
static T GetRequiredKeyedService<T>(IServiceProvider provider, object serviceKey)
ServiceProviderOptions class

Microsoft.Extensions.DependencyInjection.ServiceProviderOptions · assembly Microsoft.Extensions.DependencyInjection

Constructors

new ServiceProviderOptions()

Ring: new ServiceProviderOptions(args) uses one constructor; the others are chosen by the parameter names: new ServiceProviderOptions().@New([ :param = value ]) or dnNew("ServiceProviderOptions",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValidateScopesboolread, writeo.ValidateScopes o.ValidateScopes = v
ValidateOnBuildboolread, writeo.ValidateOnBuild o.ValidateOnBuild = v
ServiceProviderServiceExtensions class static

Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions · assembly Microsoft.Extensions.DependencyInjection.Abstractions

Methods

MethodRing call.NET overloads
CreateAsyncScopeCreateAsyncScope(p1)static AsyncServiceScope CreateAsyncScope(IServiceProvider provider)
static AsyncServiceScope CreateAsyncScope(IServiceScopeFactory serviceScopeFactory)
CreateScopeCreateScope(p1)static IServiceScope CreateScope(IServiceProvider provider)
GetRequiredServiceGetRequiredService(value)
GetRequiredService([ :provider = … ])
GetRequiredService([ :provider = …, :serviceType = … ])
static object GetRequiredService(IServiceProvider provider, Type serviceType)
static T GetRequiredService<T>(IServiceProvider provider)
GetServiceGetService(value)
GetService([ :provider = … ])
static T GetService<T>(IServiceProvider provider)
GetServicesGetServices(value)
GetServices([ :provider = … ])
GetServices([ :provider = …, :serviceType = … ])
static IEnumerable<T> GetServices<T>(IServiceProvider provider)
static IEnumerable<object> GetServices(IServiceProvider provider, Type serviceType)
SessionServiceCollectionExtensions class static

Microsoft.Extensions.DependencyInjection.SessionServiceCollectionExtensions · assembly Microsoft.AspNetCore.Session

Methods

MethodRing call.NET overloads
AddSessionAddSession(value)
AddSession([ :services = … ])
AddSession([ :services = …, :configure = … ])
static IServiceCollection AddSession(IServiceCollection services)
static IServiceCollection AddSession(IServiceCollection services, Action<SessionOptions> configure)
SignalRDependencyInjectionExtensions class static

Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions · assembly Microsoft.AspNetCore.SignalR

Methods

MethodRing call.NET overloads
AddHubOptionsAddHubOptions(p1,p2)static ISignalRServerBuilder AddHubOptions<THub>(ISignalRServerBuilder signalrBuilder, Action<HubOptions<THub>> configure)
AddSignalRAddSignalR(value)
AddSignalR([ :services = … ])
AddSignalR([ :services = …, :configure = … ])
static ISignalRServerBuilder AddSignalR(IServiceCollection services)
static ISignalRServerBuilder AddSignalR(IServiceCollection services, Action<HubOptions> configure)
SocketsHttpHandlerBuilderExtensions class static

Microsoft.Extensions.DependencyInjection.SocketsHttpHandlerBuilderExtensions · assembly Microsoft.Extensions.Http

Methods

MethodRing call.NET overloads
ConfigureConfigure(p1,p2)static ISocketsHttpHandlerBuilder Configure(ISocketsHttpHandlerBuilder builder, Action<SocketsHttpHandler, IServiceProvider> configure)
static ISocketsHttpHandlerBuilder Configure(ISocketsHttpHandlerBuilder builder, IConfiguration configuration)
TagHelperServicesExtensions class static

Microsoft.Extensions.DependencyInjection.TagHelperServicesExtensions · assembly Microsoft.AspNetCore.Mvc.TagHelpers

Methods

MethodRing call.NET overloads
AddCacheTagHelperAddCacheTagHelper(p1)static IMvcCoreBuilder AddCacheTagHelper(IMvcCoreBuilder builder)
AddCacheTagHelperLimitsAddCacheTagHelperLimits(p1,p2)static IMvcBuilder AddCacheTagHelperLimits(IMvcBuilder builder, Action<CacheTagHelperOptions> configure)
static IMvcCoreBuilder AddCacheTagHelperLimits(IMvcCoreBuilder builder, Action<CacheTagHelperOptions> configure)