Edit

Share via


KeyedServiceCollection<TKey,TService> Class

Definition

Represents a collection of services with a given key type.

C#
public class KeyedServiceCollection<TKey,TService> : Orleans.Runtime.IKeyedServiceCollection<TKey,TService> where TService : class

Type Parameters

TKey

The type of the key.

TService

The type of the service.

Inheritance
KeyedServiceCollection<TKey,TService>
Implements

Constructors

Methods

GetService(IServiceProvider, TKey)

Gets the service with the specified key.

GetServices(IServiceProvider)

Gets all services from this collection.

Applies to

Product Versions
.NET Orleans 3.4.5, 3.6.0, 7.0.0

See also