Method
GetServices
func GetServices<T>() -> Result<Sequence<T>, ServiceError>
Declaring type: ServiceProviderExtensions
Module: Neo.DependencyInjection
Assembly: Neo.DependencyInjection.Abstractions.dll
Extension from ServiceProviderExtensions.GetServices
Typed form of GetServices; preserves activation errors and lifetime behavior.
Parameters
| Name | Type | Description |
|---|---|---|
self |
ServiceProvider |
Return value
Result<Sequence<T>, ServiceError>