แชร์ผ่าน


KeyedDependencyInjectionSpecificationTests Class

Definition

public ref class KeyedDependencyInjectionSpecificationTests abstract
public abstract class KeyedDependencyInjectionSpecificationTests
type KeyedDependencyInjectionSpecificationTests = class
Public MustInherit Class KeyedDependencyInjectionSpecificationTests
Inheritance
KeyedDependencyInjectionSpecificationTests

Constructors

KeyedDependencyInjectionSpecificationTests()

Properties

SupportsIServiceProviderIsKeyedService

Methods

ClosedGenericsWithIsKeyedService()
CreateServiceProvider(IServiceCollection)
CreateServiceWithKeyedParameter()
ExplicitServiceRegistrationWithIsKeyedService()
IEnumerableWithIsKeyedServiceAlwaysReturnsTrue()
NonKeyedServiceWithIsKeyedService()
OpenGenericsWithIsKeyedService()
ResolveKeyedGenericServices()
ResolveKeyedOpenGenericService()
ResolveKeyedScopedFromScopeServiceProvider()
ResolveKeyedService()
ResolveKeyedServices()
ResolveKeyedServicesAnyKey()
ResolveKeyedServicesAnyKeyWithAnyKeyRegistration()
ResolveKeyedServiceSingletonFactory()
ResolveKeyedServiceSingletonFactoryWithAnyKey()
ResolveKeyedServiceSingletonFactoryWithAnyKeyIgnoreWrongType()
ResolveKeyedServiceSingletonInstance()
ResolveKeyedServiceSingletonInstanceWithAnyKey()
ResolveKeyedServiceSingletonInstanceWithKeyedParameter()
ResolveKeyedServiceSingletonInstanceWithKeyInjection()
ResolveKeyedServiceSingletonType()
ResolveKeyedServicesSingletonInstanceWithAnyKey()
ResolveKeyedServiceTransientFactory()
ResolveKeyedServiceTransientType()
ResolveKeyedServiceTransientTypeWithAnyKey()
ResolveKeyedServiceWithKeyedParameter_MissingRegistration_FirstParameter()
ResolveKeyedServiceWithKeyedParameter_MissingRegistration_SecondParameter()
ResolveKeyedServiceWithKeyedParameter_MissingRegistrationButWithDefaults()
ResolveKeyedServiceWithKeyedParameter_MissingRegistrationButWithUnkeyedService()
ResolveKeyedSingletonFromInjectedServiceProvider()
ResolveKeyedSingletonFromScopeServiceProvider()
ResolveKeyedTransientFromInjectedServiceProvider()
ResolveKeyedTransientFromScopeServiceProvider()
ResolveNonKeyedService()
ResolveNullKeyedService()
SimpleServiceKeyedResolution()

Applies to