ServiceCollection 클래스

정의

IServiceCollection의 기본 구현입니다.

public ref class ServiceCollection : Microsoft::Extensions::DependencyInjection::IServiceCollection, System::Collections::Generic::ICollection<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>, System::Collections::Generic::IList<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>
public class ServiceCollection : Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IList<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>
type ServiceCollection = class
    interface IServiceCollection
    interface IList<ServiceDescriptor>
    interface ICollection<ServiceDescriptor>
    interface seq<ServiceDescriptor>
    interface IEnumerable
type ServiceCollection = class
    interface IServiceCollection
    interface ICollection<ServiceDescriptor>
    interface seq<ServiceDescriptor>
    interface IEnumerable
    interface IList<ServiceDescriptor>
Public Class ServiceCollection
Implements ICollection(Of ServiceDescriptor), IEnumerable(Of ServiceDescriptor), IList(Of ServiceDescriptor), IServiceCollection
상속
ServiceCollection
구현

생성자

ServiceCollection()

ServiceCollection 클래스의 새 인스턴스를 초기화합니다.

속성

Count

ICollection<T>에 포함된 요소 수를 가져옵니다.

IsReadOnly

ICollection<T>가 읽기 전용인지 여부를 나타내는 값을 가져옵니다.

Item[Int32]

지정한 인덱스에 있는 요소를 가져오거나 설정합니다.

메서드

Clear()

ICollection<T>에서 항목을 모두 제거합니다.

Contains(ServiceDescriptor)

ICollection<T>에 특정 값이 들어 있는지 여부를 확인합니다.

CopyTo(ServiceDescriptor[], Int32)

특정 ICollection<T> 인덱스부터 시작하여 Array의 요소를 Array에 복사합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetEnumerator()

컬렉션을 반복하는 열거자를 반환합니다.

GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
IndexOf(ServiceDescriptor)

IList<T>에서 특정 항목의 인덱스를 결정합니다.

Insert(Int32, ServiceDescriptor)

항목을 IList<T>의 지정된 인덱스에 삽입합니다.

MakeReadOnly()

이 컬렉션을 읽기 전용으로 만듭니다.

MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
Remove(ServiceDescriptor)

ICollection<T>에서 맨 처음 발견되는 특정 개체를 제거합니다.

RemoveAt(Int32)

지정한 인덱스에서 IList<T> 항목을 제거합니다.

ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

ICollection<ServiceDescriptor>.Add(ServiceDescriptor)

ICollection<T>에 항목을 추가합니다.

IEnumerable.GetEnumerator()

컬렉션을 반복하는 열거자를 반환합니다.

확장 메서드

AddServiceLogEnricher(IServiceCollection)

서비스 보강자의 instance 에 IServiceCollection추가합니다.

AddServiceLogEnricher(IServiceCollection, IConfigurationSection)

서비스 보강자의 instance 에 IServiceCollection추가합니다.

AddServiceLogEnricher(IServiceCollection, Action<ApplicationLogEnricherOptions>)

서비스 보강자의 instance 에 IServiceCollection추가합니다.

AddApplicationMetadata(IServiceCollection, IConfigurationSection)

의 instance ApplicationMetadata 종속성 주입 컨테이너에 추가합니다.

AddApplicationMetadata(IServiceCollection, Action<ApplicationMetadata>)

의 instance ApplicationMetadata 종속성 주입 컨테이너에 추가합니다.

AddAsyncState(IServiceCollection)

, IAsyncContext<T>Microsoft.Extensions.AsyncState.IAsyncLocalContext`1 서비스에 대한 IAsyncState기본 구현을 추가합니다. 이러한 인터페이스의 구현은 스레드로부터 안전하지 않습니다.

ActivateKeyedSingleton(IServiceCollection, Type, Object)

런타임이 아닌 시작 시간에 키 지정된 싱글톤 활성화를 적용합니다.

ActivateKeyedSingleton<TService>(IServiceCollection, Object)

런타임이 아닌 시작 시간에 키 지정된 싱글톤 활성화를 적용합니다.

ActivateSingleton(IServiceCollection, Type)

런타임이 아닌 시작 시 싱글톤 활성화를 적용합니다.

ActivateSingleton<TService>(IServiceCollection)

런타임이 아닌 시작 시 싱글톤 활성화를 적용합니다.

AddActivatedKeyedSingleton(IServiceCollection, Type, Object)

자동 활성화 키 싱글톤 서비스를 추가합니다.

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

자동 활성화 키 싱글톤 서비스를 추가합니다.

AddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)

자동 활성화 키 싱글톤 서비스를 추가합니다.

AddActivatedKeyedSingleton<TService>(IServiceCollection, Object)

자동 활성화 키 싱글톤 서비스를 추가합니다.

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

자동 활성화 키 싱글톤 서비스를 추가합니다.

AddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

자동 활성화 키 싱글톤 서비스를 추가합니다.

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

자동 활성화 키 싱글톤 서비스를 추가합니다.

AddActivatedSingleton(IServiceCollection, Type)

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

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

자동 활성화 싱글톤 서비스를 추가합니다.

AddActivatedSingleton(IServiceCollection, Type, Type)

자동 활성화 싱글톤 서비스를 추가합니다.

AddActivatedSingleton<TService>(IServiceCollection)

자동 활성화 싱글톤 서비스를 추가합니다.

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

자동 활성화 싱글톤 서비스를 추가합니다.

AddActivatedSingleton<TService,TImplementation>(IServiceCollection)

자동 활성화 싱글톤 서비스를 추가합니다.

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

자동 활성화 싱글톤 서비스를 추가합니다.

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object)

자동 활성화 키 싱글톤 서비스를 추가하려고 시도합니다.

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

자동 활성화 키 싱글톤 서비스를 추가하려고 시도합니다.

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)

자동 활성화 키 싱글톤 서비스를 추가하려고 시도합니다.

TryAddActivatedKeyedSingleton<TService>(IServiceCollection, Object)

자동 활성화 키 싱글톤 서비스를 추가하려고 시도합니다.

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

자동 활성화 키 싱글톤 서비스를 추가하려고 시도합니다.

TryAddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

자동 활성화 키 싱글톤 서비스를 추가하려고 시도합니다.

TryAddActivatedSingleton(IServiceCollection, Type)

자동 활성화된 싱글톤 서비스를 추가하려고 시도합니다.

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

자동 활성화된 싱글톤 서비스를 추가하려고 시도합니다.

TryAddActivatedSingleton(IServiceCollection, Type, Type)

자동 활성화된 싱글톤 서비스를 추가하려고 시도합니다.

TryAddActivatedSingleton<TService>(IServiceCollection)

자동 활성화된 싱글톤 서비스를 추가하려고 시도합니다.

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

자동 활성화된 싱글톤 서비스를 추가하려고 시도합니다.

TryAddActivatedSingleton<TService,TImplementation>(IServiceCollection)

자동 활성화된 싱글톤 서비스를 추가하려고 시도합니다.

AddTelemetryHealthCheckPublisher(IServiceCollection)

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

AddContextualOptions(IServiceCollection)

상황에 맞는 옵션을 사용하는 데 필요한 서비스를 추가합니다.

Configure<TOptions>(IServiceCollection, Action<IOptionsContext,TOptions>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다.

Configure<TOptions>(IServiceCollection, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다.

Configure<TOptions>(IServiceCollection, String, Action<IOptionsContext,TOptions>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다.

Configure<TOptions>(IServiceCollection, String, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다.

PostConfigure<TOptions>(IServiceCollection, Action<IOptionsContext,TOptions>)

특정 유형의 옵션을 초기화하는 데 사용되는 동작을 등록합니다.

PostConfigure<TOptions>(IServiceCollection, String, Action<IOptionsContext,TOptions>)

특정 유형의 옵션을 초기화하는 데 사용되는 동작을 등록합니다.

PostConfigureAll<TOptions>(IServiceCollection, Action<IOptionsContext,TOptions>)

특정 유형의 옵션의 모든 인스턴스를 초기화하는 데 사용되는 작업을 등록합니다.

ValidateContextualOptions<TOptions>(IServiceCollection, Func<TOptions,Boolean>, String)

옵션 형식에 대한 유효성 검사 동작을 등록합니다.

ValidateContextualOptions<TOptions>(IServiceCollection, String, Func<TOptions,Boolean>, String)

옵션 형식에 대한 유효성 검사 동작을 등록합니다.

AddWebEncoders(IServiceCollection)

지정된 servicesHtmlEncoder, JavaScriptEncoderUrlEncoder를 추가합니다.

AddWebEncoders(IServiceCollection, Action<WebEncoderOptions>)

지정된 servicesHtmlEncoder, JavaScriptEncoderUrlEncoder를 추가합니다.

AddLogEnricher(IServiceCollection, ILogEnricher)

로그 보강자 instance 등록합니다.

AddLogEnricher<T>(IServiceCollection)

로그 보강자 형식을 등록합니다.

AddStaticLogEnricher(IServiceCollection, IStaticLogEnricher)

정적 로그 보강자 instance 등록합니다.

AddStaticLogEnricher<T>(IServiceCollection)

정적 로그 보강자 형식을 등록합니다.

AddExceptionSummarizer(IServiceCollection)

종속성 주입 컨테이너에 예외 요약 작성기를 등록합니다.

AddExceptionSummarizer(IServiceCollection, Action<IExceptionSummarizationBuilder>)

종속성 주입 컨테이너에 예외 요약 작성기를 등록합니다.

Add(IServiceCollection, ServiceDescriptor)

지정된 descriptorcollection에 추가합니다.

Add(IServiceCollection, IEnumerable<ServiceDescriptor>)

ServiceDescriptor 시퀀스를 collection에 추가합니다.

RemoveAll(IServiceCollection, Type)

IServiceCollection에서 serviceType 형식의 모든 서비스를 제거합니다.

RemoveAll<T>(IServiceCollection)

IServiceCollection에서 T 형식의 모든 서비스를 제거합니다.

RemoveAllKeyed(IServiceCollection, Type, Object)

collection에서 serviceType 형식의 모든 서비스를 제거합니다.

RemoveAllKeyed<T>(IServiceCollection, Object)

collection에서 T 형식의 모든 서비스를 제거합니다.

Replace(IServiceCollection, ServiceDescriptor)

descriptor와 동일한 서비스 유형을 가진 IServiceCollection의 첫 번째 서비스를 제거하고 descriptor를 컬렉션에 추가합니다.

TryAdd(IServiceCollection, ServiceDescriptor)

서비스 유형이 아직 등록되지 않은 경우 지정된 descriptorcollection에 추가합니다.

TryAdd(IServiceCollection, IEnumerable<ServiceDescriptor>)

서비스 유형이 아직 등록되지 않은 경우 지정된 descriptorscollection에 추가합니다.

TryAddEnumerable(IServiceCollection, ServiceDescriptor)

기존 설명자와 ServiceType이 동일하고 services에 아직 구현이 없는 경우 ServiceDescriptor를 추가합니다.

TryAddEnumerable(IServiceCollection, IEnumerable<ServiceDescriptor>)

기존 설명자와 ServiceType이 동일하고 services에 아직 구현이 없는 경우 지정된 ServiceDescriptor를 추가합니다.

TryAddKeyedScoped(IServiceCollection, Type, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 servicecollectionScoped 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 servicecollectionScoped 서비스로 추가합니다.

TryAddKeyedScoped(IServiceCollection, Type, Object, Type)

서비스 유형이 아직 등록되지 않은 경우 implementationType 구현을 사용하여 지정된 servicecollectionScoped 서비스로 추가합니다.

TryAddKeyedScoped<TService>(IServiceCollection, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServicecollectionScoped 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 TServiceservicesScoped 서비스로 추가합니다.

TryAddKeyedScoped<TService,TImplementation>(IServiceCollection, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServiceTImplementation에 지정된 Scoped 서비스 구현 형식으로 collection에 추가합니다.

TryAddKeyedSingleton(IServiceCollection, Type, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 servicecollectionSingleton 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 servicecollectionSingleton 서비스로 추가합니다.

TryAddKeyedSingleton(IServiceCollection, Type, Object, Type)

서비스 유형이 아직 등록되지 않은 경우 implementationType 구현을 사용하여 지정된 servicecollectionSingleton 서비스로 추가합니다.

TryAddKeyedSingleton<TService>(IServiceCollection, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServicecollectionSingleton 서비스로 추가합니다.

TryAddKeyedSingleton<TService>(IServiceCollection, Object, TService)

서비스 유형이 아직 등록되지 않은 경우 instance에 지정된 인스턴스를 사용하여 지정된 TServicecollectionSingleton 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 TServiceservicesSingleton 서비스로 추가합니다.

TryAddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServiceTImplementation에 지정된 Singleton 서비스 구현 형식으로 collection에 추가합니다.

TryAddKeyedTransient(IServiceCollection, Type, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 servicecollectionTransient 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 servicecollectionTransient 서비스로 추가합니다.

TryAddKeyedTransient(IServiceCollection, Type, Object, Type)

서비스 유형이 아직 등록되지 않은 경우 implementationType 구현을 사용하여 지정된 servicecollectionTransient 서비스로 추가합니다.

TryAddKeyedTransient<TService>(IServiceCollection, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServicecollectionTransient 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 TServiceservicesTransient 서비스로 추가합니다.

TryAddKeyedTransient<TService,TImplementation>(IServiceCollection, Object)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServiceTImplementation에 지정된 Transient 서비스 구현 형식으로 collection에 추가합니다.

TryAddScoped(IServiceCollection, Type)

서비스 유형이 아직 등록되지 않은 경우 지정된 servicecollectionScoped 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 servicecollectionScoped 서비스로 추가합니다.

TryAddScoped(IServiceCollection, Type, Type)

서비스 유형이 아직 등록되지 않은 경우 implementationType 구현을 사용하여 지정된 servicecollectionScoped 서비스로 추가합니다.

TryAddScoped<TService>(IServiceCollection)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServicecollectionScoped 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 TServiceservicesScoped 서비스로 추가합니다.

TryAddScoped<TService,TImplementation>(IServiceCollection)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServiceTImplementation에 지정된 Scoped 서비스 구현 형식으로 collection에 추가합니다.

TryAddSingleton(IServiceCollection, Type)

서비스 유형이 아직 등록되지 않은 경우 지정된 servicecollectionSingleton 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 servicecollectionSingleton 서비스로 추가합니다.

TryAddSingleton(IServiceCollection, Type, Type)

서비스 유형이 아직 등록되지 않은 경우 implementationType 구현을 사용하여 지정된 servicecollectionSingleton 서비스로 추가합니다.

TryAddSingleton<TService>(IServiceCollection)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServicecollectionSingleton 서비스로 추가합니다.

TryAddSingleton<TService>(IServiceCollection, TService)

서비스 유형이 아직 등록되지 않은 경우 instance에 지정된 인스턴스를 사용하여 지정된 TServicecollectionSingleton 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 TServiceservicesSingleton 서비스로 추가합니다.

TryAddSingleton<TService,TImplementation>(IServiceCollection)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServiceTImplementation에 지정된 Singleton 서비스 구현 형식으로 collection에 추가합니다.

TryAddTransient(IServiceCollection, Type)

서비스 유형이 아직 등록되지 않은 경우 지정된 servicecollectionTransient 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 servicecollectionTransient 서비스로 추가합니다.

TryAddTransient(IServiceCollection, Type, Type)

서비스 유형이 아직 등록되지 않은 경우 implementationType 구현을 사용하여 지정된 servicecollectionTransient 서비스로 추가합니다.

TryAddTransient<TService>(IServiceCollection)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServicecollectionTransient 서비스로 추가합니다.

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

서비스 유형이 아직 등록되지 않은 경우 implementationFactory에 지정된 팩터리를 사용하여 지정된 TServiceservicesTransient 서비스로 추가합니다.

TryAddTransient<TService,TImplementation>(IServiceCollection)

서비스 유형이 아직 등록되지 않은 경우 지정된 TServiceTImplementation에 지정된 Transient 서비스 구현 형식으로 collection에 추가합니다.

AddFakeLogging(IServiceCollection)

기본 옵션을 사용하여 가짜 로깅을 구성합니다.

AddFakeLogging(IServiceCollection, IConfigurationSection)

가짜 로깅을 구성합니다.

AddFakeLogging(IServiceCollection, Action<FakeLogCollectorOptions>)

가짜 로깅을 구성합니다.

AddFakeRedaction(IServiceCollection)

항상 가짜 재배포자 인스턴스를 반환하는 가짜 재배포 공급자를 등록합니다.

AddFakeRedaction(IServiceCollection, Action<FakeRedactorOptions>)

항상 가짜 재배포자 인스턴스를 반환하는 가짜 재배포 공급자를 등록합니다.

AddHealthChecks(IServiceCollection)

제공된 대리자를 통해 상태 검사를 등록하여 컨테이너에 HealthCheckService를 추가합니다.

AddHttpClient(IServiceCollection)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가합니다.

AddHttpClient(IServiceCollection, String)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 명명된 HttpClient를 구성합니다.

AddHttpClient(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 명명된 HttpClient를 구성합니다.

AddHttpClient(IServiceCollection, String, Action<HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 명명된 HttpClient를 구성합니다.

AddHttpClient<TClient>(IServiceCollection)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다. 클라이언트 이름은 TClient의 전체 이름으로 설정됩니다.

AddHttpClient<TClient>(IServiceCollection, Action<IServiceProvider,HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다. 클라이언트 이름은 TClient의 형식 이름으로 설정됩니다.

AddHttpClient<TClient>(IServiceCollection, Action<HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다. 클라이언트 이름은 TClient의 형식 이름으로 설정됩니다.

AddHttpClient<TClient>(IServiceCollection, String)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient>(IServiceCollection, String, Action<HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다. 클라이언트 이름은 TClient의 형식 이름으로 설정됩니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<IServiceProvider,HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다. 클라이언트 이름은 TClient의 형식 이름으로 설정됩니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다. 클라이언트 이름은 TClient의 형식 이름으로 설정됩니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,TImplementation>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,IServiceProvider,TImplementation>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, String)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다. 클라이언트 이름은 TClient의 형식 이름으로 설정됩니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<HttpClient>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,TImplementation>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,IServiceProvider,TImplementation>)

IServiceCollectionIHttpClientFactory 및 관련 서비스를 추가하고 TClient 형식과 명명된 HttpClient 간의 바인딩을 구성합니다.

ConfigureHttpClientDefaults(IServiceCollection, Action<IHttpClientBuilder>)

모든 HttpClient 인스턴스를 구성하는 데 사용할 대리자를 추가합니다.

AddHttpClientLatencyTelemetry(IServiceCollection)

DelegatingHandler 추가하여 대기 시간 정보를 수집하고 모든 http 클라이언트에 대해 나가는 요청 로그를 보강합니다.

AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)

DelegatingHandler 추가하여 대기 시간 정보를 수집하고 모든 http 클라이언트에 대해 나가는 요청 로그를 보강합니다.

AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)

DelegatingHandler 추가하여 대기 시간 정보를 수집하고 모든 http 클라이언트에 대해 나가는 요청 로그를 보강합니다.

AddExtendedHttpClientLogging(IServiceCollection)

IHttpClientAsyncLogger 추가하여 을 사용하여 만든 IHttpClientFactory모든 HTTP 클라이언트에 대해 나가는 요청에 대한 로그를 내보낼 수 있습니다.

AddExtendedHttpClientLogging(IServiceCollection, IConfigurationSection)

IHttpClientAsyncLogger 추가하여 을 사용하여 만든 IHttpClientFactory모든 HTTP 클라이언트에 대해 나가는 요청에 대한 로그를 내보낼 수 있습니다.

AddExtendedHttpClientLogging(IServiceCollection, Action<LoggingOptions>)

IHttpClientAsyncLogger 추가하여 을 사용하여 만든 IHttpClientFactory모든 HTTP 클라이언트에 대해 나가는 요청에 대한 로그를 내보낼 수 있습니다.

AddHttpClientLogEnricher<T>(IServiceCollection)

의 보강자 instance T 추가하여 IServiceCollection 로그를 보강 HttpClient 합니다.

AddDownstreamDependencyMetadata(IServiceCollection, IDownstreamDependencyMetadata)

종속성 메타데이터를 추가합니다.

AddDownstreamDependencyMetadata<T>(IServiceCollection)

종속성 메타데이터를 추가합니다.

AddKubernetesProbes(IServiceCollection)

기본 옵션을 사용하여 활동성, 시작 및 준비 상태 프로브를 등록합니다.

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

구성된 옵션을 사용하여 활동성, 시작 및 준비 상태 프로브를 등록합니다.

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

구성된 옵션을 사용하여 활동성, 시작 및 준비 상태 프로브를 등록합니다.

AddConsoleLatencyDataExporter(IServiceCollection)

콘솔에 대한 대기 시간 데이터 내보내기를 추가합니다.

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

콘솔에 대한 대기 시간 데이터 내보내기를 추가합니다.

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

콘솔에 대한 대기 시간 데이터 내보내기를 추가합니다.

AddLatencyContext(IServiceCollection)

대기 시간 컨텍스트를 추가합니다.

AddLatencyContext(IServiceCollection, IConfigurationSection)

대기 시간 컨텍스트를 추가합니다.

AddLatencyContext(IServiceCollection, Action<LatencyContextOptions>)

대기 시간 컨텍스트를 추가합니다.

RegisterCheckpointNames(IServiceCollection, String[])

대기 시간 컨텍스트에 대한 검사점 이름 집합을 등록합니다.

RegisterMeasureNames(IServiceCollection, String[])

대기 시간 컨텍스트에 대한 측정값 이름 집합을 등록합니다.

RegisterTagNames(IServiceCollection, String[])

대기 시간 컨텍스트에 대한 태그 이름 집합을 등록합니다.

AddLocalization(IServiceCollection)

애플리케이션 지역화에 필요한 서비스를 추가합니다.

AddLocalization(IServiceCollection, Action<LocalizationOptions>)

애플리케이션 지역화에 필요한 서비스를 추가합니다.

AddLogging(IServiceCollection)

지정된 IServiceCollection에 로깅 서비스를 추가합니다.

AddLogging(IServiceCollection, Action<ILoggingBuilder>)

지정된 IServiceCollection에 로깅 서비스를 추가합니다.

AddDistributedMemoryCache(IServiceCollection)

메모리에 항목을 저장하는 IDistributedCache의 기본 구현을 IServiceCollection에 추가합니다. 분산 캐시를 작동해야 하는 프레임워크는 종속성 목록의 일부로 이 종속성을 안전하게 추가하여 하나 이상의 구현을 사용할 수 있도록 합니다.

AddDistributedMemoryCache(IServiceCollection, Action<MemoryDistributedCacheOptions>)

메모리에 항목을 저장하는 IDistributedCache의 기본 구현을 IServiceCollection에 추가합니다. 분산 캐시를 작동해야 하는 프레임워크는 종속성 목록의 일부로 이 종속성을 안전하게 추가하여 하나 이상의 구현을 사용할 수 있도록 합니다.

AddMemoryCache(IServiceCollection)

IMemoryCache의 분산되지 않은 메모리 내 구현을 IServiceCollection에 추가합니다.

AddMemoryCache(IServiceCollection, Action<MemoryCacheOptions>)

IMemoryCache의 분산되지 않은 메모리 내 구현을 IServiceCollection에 추가합니다.

AddMetrics(IServiceCollection)

지정된 IServiceCollection에 메트릭 서비스를 추가합니다.

AddMetrics(IServiceCollection, Action<IMetricsBuilder>)

지정된 IServiceCollection에 메트릭 서비스를 추가합니다.

AddNullLatencyContext(IServiceCollection)

종속성 주입 컨테이너에 작업 없음 대기 시간 컨텍스트를 추가합니다.

AddPooled<TService>(IServiceCollection, Action<DependencyInjectionPoolOptions>)

ObjectPool<T> 추가하고 DI에서 범위가 지정된 인스턴스를 반환할 수 있도록 합니다 TService.

AddPooled<TService,TImplementation>(IServiceCollection, Action<DependencyInjectionPoolOptions>)

ObjectPool<T> 추가하고 DI에서 범위가 지정된 인스턴스를 반환할 수 있도록 합니다 TService.

ConfigurePool<TService>(IServiceCollection, Action<DependencyInjectionPoolOptions>)

형식화된 풀의 를 구성하는 DependencyInjectionPoolOptions 데 사용되는 작업을 등록합니다.

ConfigurePools(IServiceCollection, IConfigurationSection)

DI 풀을 구성합니다.

Configure<TOptions>(IServiceCollection, IConfiguration)

TOptions가 바인딩할 구성 인스턴스를 등록하고, 구성이 변경되면 옵션을 업데이트합니다.

Configure<TOptions>(IServiceCollection, IConfiguration, Action<BinderOptions>)

TOptions를 바인딩할 구성 인스턴스를 등록합니다.

Configure<TOptions>(IServiceCollection, String, IConfiguration)

TOptions를 바인딩할 구성 인스턴스를 등록합니다.

Configure<TOptions>(IServiceCollection, String, IConfiguration, Action<BinderOptions>)

TOptions를 바인딩할 구성 인스턴스를 등록합니다.

AddOptions(IServiceCollection)

옵션을 사용하는 데 필요한 서비스를 추가합니다.

AddOptions<TOptions>(IServiceCollection)

동일한 이름의 TOptions 호출을 Configure 기본 서비스 컬렉션에 전달하는 옵션 작성기를 가져옵니다.

AddOptions<TOptions>(IServiceCollection, String)

동일한 이름의 TOptions 호출을 Configure 기본 서비스 컬렉션에 전달하는 옵션 작성기를 가져옵니다.

AddOptionsWithValidateOnStart<TOptions>(IServiceCollection, String)

옵션을 사용하는 데 필요한 서비스를 추가하고 런타임이 아닌 시작 시 옵션 유효성 검사 검사 적용합니다.

AddOptionsWithValidateOnStart<TOptions,TValidateOptions>(IServiceCollection, String)

옵션을 사용하는 데 필요한 서비스를 추가하고 런타임이 아닌 시작 시 옵션 유효성 검사 검사 적용합니다.

Configure<TOptions>(IServiceCollection, Action<TOptions>)

시작 중에 한 번 특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다. PostConfigure<TOptions>(IServiceCollection, Action<TOptions>) 이전에 실행됩니다. 구성 업데이트에서 작업을 다시 호출하지 않습니다.

Configure<TOptions>(IServiceCollection, String, Action<TOptions>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다. PostConfigure<TOptions>(IServiceCollection, Action<TOptions>) 이전에 실행됩니다.

ConfigureAll<TOptions>(IServiceCollection, Action<TOptions>)

특정 옵션 유형의 모든 인스턴스를 구성하는 데 사용되는 동작을 등록합니다.

ConfigureOptions(IServiceCollection, Object)

모든 개체를 등록할 개체를 I[Post]ConfigureOptions 등록합니다.

ConfigureOptions(IServiceCollection, Type)

모든 형식이 등록된 형식을 등록합니다 I[Post]ConfigureOptions .

ConfigureOptions<TConfigureOptions>(IServiceCollection)

모든 형식이 등록된 형식을 등록합니다 I[Post]ConfigureOptions .

PostConfigure<TOptions>(IServiceCollection, Action<TOptions>)

특정 유형의 옵션을 초기화하는 데 사용되는 동작을 등록합니다. Configure<TOptions>(IServiceCollection, Action<TOptions>) 이후에 실행됩니다.

PostConfigure<TOptions>(IServiceCollection, String, Action<TOptions>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다. Configure<TOptions>(IServiceCollection, Action<TOptions>) 이후에 실행됩니다.

PostConfigureAll<TOptions>(IServiceCollection, Action<TOptions>)

특정 옵션 유형의 모든 인스턴스를 사후 구성하는 데 사용되는 동작을 등록합니다. Configure<TOptions>(IServiceCollection, Action<TOptions>) 이후에 실행됩니다.

AddProcessLogEnricher(IServiceCollection)

프로세스 보강자의 instance 에 IServiceCollection추가합니다.

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

호스트 보강자의 instance 에 IServiceCollection추가합니다.

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

프로세스 보강자의 instance 에 IServiceCollection추가합니다.

AddRedaction(IServiceCollection)

의 구현 IRedactorProvider 을 에 등록합니다 IServiceCollection.

AddRedaction(IServiceCollection, Action<IRedactionBuilder>)

에서 IServiceCollectionIRedactorProvider 구현을 등록하고 사용 가능한 편집기를 구성합니다.

AddResilienceEnricher(IServiceCollection)

복원력 보강자를 추가합니다.

AddResourceMonitoring(IServiceCollection)

구현을 IResourceMonitor 구성하고 서비스 컬렉션에 추가합니다.

AddResourceMonitoring(IServiceCollection, Action<IResourceMonitorBuilder>)

구현을 IResourceMonitor 구성하고 서비스 컬렉션에 추가합니다.

BuildServiceProvider(IServiceCollection)

제공된 IServiceCollection에서 서비스를 포함하는 ServiceProvider를 만듭니다.

BuildServiceProvider(IServiceCollection, ServiceProviderOptions)

서비스 생성 및 범위 유효성 검사를 선택적으로 활성화하여 제공된 IServiceCollection에서 서비스를 포함하는 ServiceProvider를 만듭니다.

BuildServiceProvider(IServiceCollection, Boolean)

범위 유효성 검사를 선택적으로 활성화하여 제공된 IServiceCollection에서 서비스를 포함하는 ServiceProvider를 만듭니다.

AddHostedService<THostedService>(IServiceCollection)

지정된 형식에 대한 IHostedService 등록을 추가합니다.

AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider,THostedService>)

지정된 형식에 대한 IHostedService 등록을 추가합니다.

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>(IServiceCollection, Object)

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

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

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

AddKeyedScoped<TService,TImplementation>(IServiceCollection, Object)

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

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

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 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>(IServiceCollection, Object)

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

AddKeyedSingleton<TService>(IServiceCollection, Object, TService)

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

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

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

AddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

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

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

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 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>(IServiceCollection, Object)

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

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

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

AddKeyedTransient<TService,TImplementation>(IServiceCollection, Object)

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

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

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 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>(IServiceCollection)

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

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

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

AddScoped<TService,TImplementation>(IServiceCollection)

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

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

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 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>(IServiceCollection)

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

AddSingleton<TService>(IServiceCollection, TService)

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

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

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

AddSingleton<TService,TImplementation>(IServiceCollection)

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

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

implementationFactory에 지정된 팩터리를 사용하여 TImplementation에 지정된 구현 형식이 있는 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>(IServiceCollection)

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

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

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

AddTransient<TService,TImplementation>(IServiceCollection)

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

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

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

AddTcpEndpointProbe(IServiceCollection)

서비스가 정상으로 간주되는 경우 TCP 포트를 사용하여 상태 상태 보고를 등록합니다IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

서비스가 정상으로 간주되는 경우 TCP 포트를 사용하여 상태 상태 보고를 등록합니다IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

서비스가 정상으로 간주되는 경우 TCP 포트를 사용하여 상태 상태 보고를 등록합니다IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String)

서비스가 정상으로 간주되는 경우 TCP 포트를 사용하여 상태 상태 보고를 등록합니다IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

서비스가 정상으로 간주되는 경우 TCP 포트를 사용하여 상태 상태 보고를 등록합니다IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

서비스가 정상으로 간주되는 경우 TCP 포트를 사용하여 상태 상태 보고를 등록합니다IHealthCheck.

AddSystemd(IServiceCollection)

IServiceCollection의 기본 구현입니다.

AddWindowsService(IServiceCollection)

IServiceCollection의 기본 구현입니다.

AddWindowsService(IServiceCollection, Action<WindowsServiceLifetimeOptions>)

IServiceCollection의 기본 구현입니다.

적용 대상