Поделиться через


KeyedDependencyInjectionSpecificationTests Класс

Определение

public ref class KeyedDependencyInjectionSpecificationTests abstract
public abstract class KeyedDependencyInjectionSpecificationTests
type KeyedDependencyInjectionSpecificationTests = class
Public MustInherit Class KeyedDependencyInjectionSpecificationTests
Наследование
KeyedDependencyInjectionSpecificationTests

Конструкторы

KeyedDependencyInjectionSpecificationTests()

Свойства

SupportsIServiceProviderIsKeyedService

Методы

ClosedGenericsWithIsKeyedService()
CreateServiceProvider(IServiceCollection)
CreateServiceWithKeyedParameter()
Equals(Object)

Определяет, равен ли указанный объект текущему объекту.

(Унаследовано от Object)
ExplicitServiceRegistrationWithIsKeyedService()
GetHashCode()

Служит хэш-функцией по умолчанию.

(Унаследовано от Object)
GetType()

Возвращает объект Type для текущего экземпляра.

(Унаследовано от Object)
IEnumerableWithIsKeyedServiceAlwaysReturnsTrue()
MemberwiseClone()

Создает неполную копию текущего объекта Object.

(Унаследовано от Object)
NonKeyedServiceWithIsKeyedService()
OpenGenericsWithIsKeyedService()
ResolveKeyedGenericServices()
ResolveKeyedOpenGenericService()
ResolveKeyedScopedFromScopeServiceProvider()
ResolveKeyedService()
ResolveKeyedServices()
ResolveKeyedServicesAnyKey()
ResolveKeyedServicesAnyKeyWithAnyKeyRegistration()
ResolveKeyedServiceSingletonFactory()
ResolveKeyedServiceSingletonFactoryWithAnyKey()
ResolveKeyedServiceSingletonFactoryWithAnyKeyIgnoreWrongType()
ResolveKeyedServiceSingletonInstance()
ResolveKeyedServiceSingletonInstanceWithAnyKey()
ResolveKeyedServiceSingletonInstanceWithKeyedParameter()
ResolveKeyedServiceSingletonInstanceWithKeyInjection()
ResolveKeyedServiceSingletonType()
ResolveKeyedServicesSingletonInstanceWithAnyKey()
ResolveKeyedServiceTransientFactory()
ResolveKeyedServiceTransientType()
ResolveKeyedServiceTransientTypeWithAnyKey()
ResolveKeyedSingletonFromInjectedServiceProvider()
ResolveKeyedSingletonFromScopeServiceProvider()
ResolveKeyedTransientFromInjectedServiceProvider()
ResolveKeyedTransientFromScopeServiceProvider()
ResolveNonKeyedService()
ResolveNullKeyedService()
SimpleServiceKeyedResolution()
ToString()

Возвращает строку, представляющую текущий объект.

(Унаследовано от Object)

Применяется к