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