共用方式為


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()
ResolveKeyedServiceWithKeyedParameter_MissingRegistration_FirstParameter()
ResolveKeyedServiceWithKeyedParameter_MissingRegistration_SecondParameter()
ResolveKeyedServiceWithKeyedParameter_MissingRegistrationButWithDefaults()
ResolveKeyedServiceWithKeyedParameter_MissingRegistrationButWithUnkeyedService()
ResolveKeyedSingletonFromInjectedServiceProvider()
ResolveKeyedSingletonFromScopeServiceProvider()
ResolveKeyedTransientFromInjectedServiceProvider()
ResolveKeyedTransientFromScopeServiceProvider()
ResolveNonKeyedService()
ResolveNullKeyedService()
SimpleServiceKeyedResolution()
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於