KeyedService<TKey,TService> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a service which is identified by a key.
public class KeyedService<TKey,TService> : IEquatable<TKey>, Orleans.Runtime.IKeyedService<TKey,TService> where TService : class
type KeyedService<'Key, 'Service (requires 'Service : null)> = class
interface IKeyedService<'Key, 'Service (requires 'Service : null)>
interface IEquatable<'Key>
Public Class KeyedService(Of TKey, TService)
Implements IEquatable(Of TKey), IKeyedService(Of TKey, TService)
Type Parameters
- TKey
The type of the key.
- TService
The type of the service.
- Inheritance
-
KeyedService<TKey,TService>
- Derived
- Implements
Constructors
Properties
Key |
Gets the service key. |
Methods
Equals(TKey) | Indicates whether the current object is equal to another object of the same type. |
GetService(IServiceProvider) |
Gets the service from the service provider. |