Method
GetKeyedService
abstract virtual func GetKeyedService(type: TypeInfo, key: object?) -> Result<Optional<object>, ServiceError>
Declaring type: ServiceProvider
Module: Neo.DependencyInjection
Assembly: Neo.DependencyInjection.Abstractions.dll
Source file: Services.rvn
Defined by ServiceProvider.GetKeyedService · Required implementation (no default).
Interface implementation: Required implementation (no default).
Returns None only if this exact type/key is unregistered.
Parameters
| Name | Type | Description |
|---|---|---|
type |
TypeInfo | |
key |
Object? |