Sdílet prostřednictvím


KeyedDependencyInjectionSpecificationTests Třída

Definice

public ref class KeyedDependencyInjectionSpecificationTests abstract
public abstract class KeyedDependencyInjectionSpecificationTests
type KeyedDependencyInjectionSpecificationTests = class
Public MustInherit Class KeyedDependencyInjectionSpecificationTests
Dědičnost
KeyedDependencyInjectionSpecificationTests

Konstruktory

KeyedDependencyInjectionSpecificationTests()

Vlastnosti

SupportsIServiceProviderIsKeyedService

Metody

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

Určí, zda se zadaný objekt rovná aktuálnímu objektu.

(Zděděno od Object)
ExplicitServiceRegistrationWithIsKeyedService()
GetHashCode()

Slouží jako výchozí hashovací funkce.

(Zděděno od Object)
GetType()

Type Získá z aktuální instance.

(Zděděno od Object)
IEnumerableWithIsKeyedServiceAlwaysReturnsTrue()
MemberwiseClone()

Vytvoří mělkou kopii aktuálního Objectsouboru .

(Zděděno od 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()

Vrátí řetězec, který představuje aktuální objekt.

(Zděděno od Object)

Platí pro