ServiceCollectionDescriptorExtensions Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
'a hizmet ekleme ve kaldırmaya IServiceCollectionyönelik uzantı yöntemleri.
public ref class ServiceCollectionDescriptorExtensions abstract sealed
public static class ServiceCollectionDescriptorExtensions
type ServiceCollectionDescriptorExtensions = class
Public Module ServiceCollectionDescriptorExtensions
- Devralma
-
ServiceCollectionDescriptorExtensions
Yöntemler
Add(IServiceCollection, IEnumerable<ServiceDescriptor>) |
öğesine |
Add(IServiceCollection, ServiceDescriptor) |
belirtilen |
RemoveAll(IServiceCollection, Type) |
içindeki IServiceCollectiontüründeki |
RemoveAll<T>(IServiceCollection) |
içindeki IServiceCollectiontüründeki |
RemoveAllKeyed(IServiceCollection, Type, Object) |
içindeki |
RemoveAllKeyed<T>(IServiceCollection, Object) |
içindeki |
Replace(IServiceCollection, ServiceDescriptor) |
ile aynı hizmet IServiceCollection türüne |
TryAdd(IServiceCollection, IEnumerable<ServiceDescriptor>) |
Hizmet türü henüz kaydedilmediyse belirtilen |
TryAdd(IServiceCollection, ServiceDescriptor) |
Hizmet türü henüz kaydedilmediyse belirtilen |
TryAddEnumerable(IServiceCollection, IEnumerable<ServiceDescriptor>) |
Aynı ServiceType ve içinde henüz |
TryAddEnumerable(IServiceCollection, ServiceDescriptor) |
ServiceDescriptor aynı ServiceType ve içinde henüz |
TryAddKeyedScoped(IServiceCollection, Type, Object) |
Hizmet |
TryAddKeyedScoped(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>) |
|
TryAddKeyedScoped(IServiceCollection, Type, Object, Type) |
Hizmet türü henüz kaydedilmemişse uygulamasıyla belirtilen |
TryAddKeyedScoped<TService,TImplementation>(IServiceCollection, Object) |
Belirtilen |
TryAddKeyedScoped<TService>(IServiceCollection, Object) |
Hizmet |
TryAddKeyedScoped<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>) |
|
TryAddKeyedSingleton(IServiceCollection, Type, Object) |
Hizmet |
TryAddKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>) |
|
TryAddKeyedSingleton(IServiceCollection, Type, Object, Type) |
Hizmet türü henüz kaydedilmemişse uygulamasıyla belirtilen |
TryAddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object) |
Belirtilen |
TryAddKeyedSingleton<TService>(IServiceCollection, Object) |
Hizmet |
TryAddKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>) |
|
TryAddKeyedSingleton<TService>(IServiceCollection, Object, TService) |
Hizmet |
TryAddKeyedTransient(IServiceCollection, Type, Object) |
Hizmet |
TryAddKeyedTransient(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>) |
|
TryAddKeyedTransient(IServiceCollection, Type, Object, Type) |
Hizmet türü henüz kaydedilmemişse uygulamasıyla belirtilen |
TryAddKeyedTransient<TService,TImplementation>(IServiceCollection, Object) |
Belirtilen |
TryAddKeyedTransient<TService>(IServiceCollection, Object) |
Hizmet |
TryAddKeyedTransient<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>) |
|
TryAddScoped(IServiceCollection, Type) |
Hizmet |
TryAddScoped(IServiceCollection, Type, Func<IServiceProvider,Object>) |
|
TryAddScoped(IServiceCollection, Type, Type) |
Hizmet türü henüz kaydedilmemişse uygulamasıyla belirtilen |
TryAddScoped<TService,TImplementation>(IServiceCollection) |
Belirtilen |
TryAddScoped<TService>(IServiceCollection) |
Hizmet |
TryAddScoped<TService>(IServiceCollection, Func<IServiceProvider,TService>) |
|
TryAddSingleton(IServiceCollection, Type) |
Hizmet |
TryAddSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>) |
|
TryAddSingleton(IServiceCollection, Type, Type) |
Hizmet türü henüz kaydedilmemişse uygulamasıyla belirtilen |
TryAddSingleton<TService,TImplementation>(IServiceCollection) |
Belirtilen |
TryAddSingleton<TService>(IServiceCollection) |
Hizmet |
TryAddSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>) |
|
TryAddSingleton<TService>(IServiceCollection, TService) |
Hizmet |
TryAddTransient(IServiceCollection, Type) |
Hizmet |
TryAddTransient(IServiceCollection, Type, Func<IServiceProvider,Object>) |
|
TryAddTransient(IServiceCollection, Type, Type) |
Hizmet türü henüz kaydedilmemişse uygulamasıyla belirtilen |
TryAddTransient<TService,TImplementation>(IServiceCollection) |
Belirtilen |
TryAddTransient<TService>(IServiceCollection) |
Hizmet |
TryAddTransient<TService>(IServiceCollection, Func<IServiceProvider,TService>) |
|