Method
GetKeyedServices
func GetKeyedServices<T>(key: object?) -> Result<Sequence<T>, ServiceError>
Declaring type: ServiceProviderExtensions
Module: Neo.DependencyInjection
Assembly: Neo.DependencyInjection.Abstractions.dll
Extension from ServiceProviderExtensions.GetKeyedServices
Typed ordered lookup for an exact key without copying the result elements.
Parameters
| Name | Type | Description |
|---|---|---|
self |
ServiceProvider | |
key |
Object? |
Return value
Result<Sequence<T>, ServiceError>