Interface IMappingMessageAdapterProvider<TKey>
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
The mapping message adapter's provider interface.
public interface IMappingMessageAdapterProvider<TKey>
Type Parameters
TKeyType of key.
- Extension Methods
Properties
Adapters
All available adapters.
IEnumerable<KeyValuePair<TKey, Guid>> Adapters { get; }
Property Value
- IEnumerable<KeyValuePair<TKey, Guid>>
Methods
Init()
Initialize the storage.
void Init()
RemoveAssociation(TKey)
Remove association with adapter.
bool RemoveAssociation(TKey key)
Parameters
keyTKeyKey.
Returns
SetAdapter(TKey, Guid)
Make association with adapter.
bool SetAdapter(TKey key, Guid adapterId)
Parameters
keyTKeyKey.
adapterIdGuidAdapter identifier.
Returns
TryGetAdapter(TKey)
Get adapter by the specified key.
Guid? TryGetAdapter(TKey key)
Parameters
keyTKeyKey.
Returns
Events
Changed
Association changed.
event Action<TKey, Guid, bool> Changed