ServiceCollectionServiceExtensions 클래스

정의

IServiceCollection에 서비스를 추가하는 확장 메서드입니다.

public ref class ServiceCollectionServiceExtensions abstract sealed
public static class ServiceCollectionServiceExtensions
type ServiceCollectionServiceExtensions = class
Public Module ServiceCollectionServiceExtensions
상속
ServiceCollectionServiceExtensions

메서드

AddKeyedScoped(IServiceCollection, Type, Object)

serviceType에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedScoped(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactory에 지정된 팩터리가 있는 serviceType에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedScoped(IServiceCollection, Type, Object, Type)

implementationType에 지정된 형식의 구현이 있는 serviceType에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedScoped<TService,TImplementation>(IServiceCollection, Object)

TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedScoped<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedScoped<TService>(IServiceCollection, Object)

TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedScoped<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactory에 지정된 팩터리가 있는 TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton(IServiceCollection, Type, Object)

serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactory에 지정된 팩터리가 있는 serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton(IServiceCollection, Type, Object, Object)

implementationInstance에 지정된 인스턴스가 있는 serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton(IServiceCollection, Type, Object, Type)

implementationType에 지정된 형식의 구현이 있는 serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton<TService>(IServiceCollection, Object)

TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactory에 지정된 팩터리가 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedSingleton<TService>(IServiceCollection, Object, TService)

implementationInstance에 지정된 인스턴스가 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedTransient(IServiceCollection, Type, Object)

serviceType에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedTransient(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactory에 지정된 팩터리가 있는 serviceType에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedTransient(IServiceCollection, Type, Object, Type)

implementationType에 지정된 형식의 구현이 있는 serviceType에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedTransient<TService,TImplementation>(IServiceCollection, Object)

TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedTransient<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedTransient<TService>(IServiceCollection, Object)

TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddKeyedTransient<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactory에 지정된 팩터리가 있는 TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddScoped(IServiceCollection, Type)

serviceType에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddScoped(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactory에 지정된 팩터리가 있는 serviceType에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddScoped(IServiceCollection, Type, Type)

implementationType에 지정된 형식의 구현이 있는 serviceType에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddScoped<TService,TImplementation>(IServiceCollection)

TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddScoped<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddScoped<TService>(IServiceCollection)

TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddScoped<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactory에 지정된 팩터리가 있는 TService에 지정된 형식의 범위 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton(IServiceCollection, Type)

serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactory에 지정된 팩터리가 있는 serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton(IServiceCollection, Type, Object)

implementationInstance에 지정된 인스턴스가 있는 serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton(IServiceCollection, Type, Type)

implementationType에 지정된 형식의 구현이 있는 serviceType에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton<TService,TImplementation>(IServiceCollection)

TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton<TService>(IServiceCollection)

TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactory에 지정된 팩터리가 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddSingleton<TService>(IServiceCollection, TService)

implementationInstance에 지정된 인스턴스가 있는 TService에 지정된 형식의 싱글톤 서비스를 지정된 IServiceCollection에 추가합니다.

AddTransient(IServiceCollection, Type)

serviceType에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddTransient(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactory에 지정된 팩터리가 있는 serviceType에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddTransient(IServiceCollection, Type, Type)

implementationType에 지정된 형식의 구현이 있는 serviceType에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddTransient<TService,TImplementation>(IServiceCollection)

TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddTransient<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddTransient<TService>(IServiceCollection)

TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

AddTransient<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactory에 지정된 팩터리가 있는 TService에 지정된 형식의 임시 서비스를 지정된 IServiceCollection에 추가합니다.

적용 대상