ServiceProviderIsKeyedService class abstract interface

Optional service used to determine if the specified type with the specified service key is available from the ServiceProvider.

Adapted from Microsoft.Extensions.DependencyInjection.IServiceProviderIsKeyedService

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isKeyedService(Type serviceType, Object? serviceKey) bool
Determines if the specified service type with the specified service key is available from the ServiceProvider.
isService(Type serviceType) bool
Determines if the specified service type is available from the ServiceProvider.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited