KeyedService<TKey,TService,TInstance> 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,TInstance> : Orleans.Runtime.KeyedService<TKey,TService> where TService : class where TInstance : TService
type KeyedService<'Key, 'Service, #'Service (requires 'Service : null)> = class
inherit KeyedService<'Key, 'Service (requires 'Service : null)>
Public Class KeyedService(Of TKey, TService, TInstance)
Inherits KeyedService(Of TKey, TService)
Type Parameters
- TKey
The type of the key.
- TService
The type of the service.
- TInstance
The type of the implementation instance.
- Inheritance
Constructors
KeyedService<TKey,TService,TInstance>(TKey, IServiceProvider) | |
KeyedService<TKey,TService,TInstance>(TKey) |
Properties
Key |
Gets the service key. (Inherited from KeyedService<TKey,TService>) |
Methods
Equals(TKey) | (Inherited from KeyedService<TKey,TService>) |
GetService(IServiceProvider) |
Gets the service from the service provider. (Inherited from KeyedService<TKey,TService>) |