KeyedService<TKey,TService> Class
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.
C#
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)
- TKey
The type of the key.
- TService
The type of the service.
- Inheritance
-
KeyedService<TKey,TService>
- Derived
- Implements
Key |
Gets the service key. |
Equals(TKey) | Indicates whether the current object is equal to another object of the same type. |
Get |
Gets the service from the service provider. |
Produkt | Verze |
---|---|
.NET Orleans | 3.4.5, 3.6.0, 7.0.0 |