ServiceCollectionDescriptorExtensions 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
IServiceCollection에 서비스를 추가 및 제거하는 확장 메서드입니다.
public ref class ServiceCollectionDescriptorExtensions abstract sealed
public static class ServiceCollectionDescriptorExtensions
type ServiceCollectionDescriptorExtensions = class
Public Module ServiceCollectionDescriptorExtensions
- 상속
-
ServiceCollectionDescriptorExtensions
메서드
Add(IServiceCollection, IEnumerable<ServiceDescriptor>) |
ServiceDescriptor 시퀀스를 |
Add(IServiceCollection, ServiceDescriptor) |
지정된 |
RemoveAll(IServiceCollection, Type) |
IServiceCollection에서 |
RemoveAll<T>(IServiceCollection) |
IServiceCollection에서 |
RemoveAllKeyed(IServiceCollection, Type, Object) |
|
RemoveAllKeyed<T>(IServiceCollection, Object) |
|
Replace(IServiceCollection, ServiceDescriptor) |
|
TryAdd(IServiceCollection, IEnumerable<ServiceDescriptor>) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAdd(IServiceCollection, ServiceDescriptor) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddEnumerable(IServiceCollection, IEnumerable<ServiceDescriptor>) |
기존 설명자와 ServiceType이 동일하고 |
TryAddEnumerable(IServiceCollection, ServiceDescriptor) |
기존 설명자와 ServiceType이 동일하고 |
TryAddKeyedScoped(IServiceCollection, Type, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedScoped(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedScoped(IServiceCollection, Type, Object, Type) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedScoped<TService,TImplementation>(IServiceCollection, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedScoped<TService>(IServiceCollection, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedScoped<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedSingleton(IServiceCollection, Type, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedSingleton(IServiceCollection, Type, Object, Type) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedSingleton<TService>(IServiceCollection, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedSingleton<TService>(IServiceCollection, Object, TService) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedTransient(IServiceCollection, Type, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedTransient(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedTransient(IServiceCollection, Type, Object, Type) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddKeyedTransient<TService,TImplementation>(IServiceCollection, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedTransient<TService>(IServiceCollection, Object) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddKeyedTransient<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddScoped(IServiceCollection, Type) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddScoped(IServiceCollection, Type, Func<IServiceProvider,Object>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddScoped(IServiceCollection, Type, Type) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddScoped<TService,TImplementation>(IServiceCollection) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddScoped<TService>(IServiceCollection) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddScoped<TService>(IServiceCollection, Func<IServiceProvider,TService>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddSingleton(IServiceCollection, Type) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddSingleton(IServiceCollection, Type, Type) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddSingleton<TService,TImplementation>(IServiceCollection) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddSingleton<TService>(IServiceCollection) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddSingleton<TService>(IServiceCollection, TService) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddTransient(IServiceCollection, Type) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddTransient(IServiceCollection, Type, Func<IServiceProvider,Object>) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddTransient(IServiceCollection, Type, Type) |
서비스 유형이 아직 등록되지 않은 경우 |
TryAddTransient<TService,TImplementation>(IServiceCollection) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddTransient<TService>(IServiceCollection) |
서비스 유형이 아직 등록되지 않은 경우 지정된 |
TryAddTransient<TService>(IServiceCollection, Func<IServiceProvider,TService>) |
서비스 유형이 아직 등록되지 않은 경우 |
적용 대상
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기