Show / Hide Table of Contents

Interface IKeyedServiceCollection<TKey, TService>

Collection of services that can be disambiguated by key

Namespace: Orleans.Runtime
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
Type Description
IEnumerable<IKeyedService<TKey, TService>>

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX