Interface IKeyedServiceCollection<TKey, TService>
Collection of services that can be disambiguated by key
Assembly: Orleans.Core.Abstractions.dll
Syntax
public interface IKeyedServiceCollection<TKey, out TService>
where TService : class
Type Parameters
| Name |
Description |
| TKey |
|
| TService |
|
Methods
|
Improve this Doc
View Source
GetService(IServiceProvider, TKey)
Declaration
TService GetService(IServiceProvider services, TKey key)
Parameters
| Type |
Name |
Description |
| IServiceProvider |
services |
|
| TKey |
key |
|
Returns
| Type |
Description |
| TService |
|
|
Improve this Doc
View Source
GetServices(IServiceProvider)
Declaration
IEnumerable<IKeyedService<TKey, TService>> GetServices(IServiceProvider services)
Parameters
| Type |
Name |
Description |
| IServiceProvider |
services |
|
Returns
Extension Methods