ISecurityMessageAdapterProvider

StockSharp.Algo.Storages

The security based message adapter's provider interface.

实现: IMappingMessageAdapterProvider<ValueTuple<SecurityId, DataType>>

方法

SetAdapter(SecurityId, DataType, Guid) : bool

Make association with adapter.

securityId
Security ID.
dataType
Data type.
adapterId
Adapter identifier.

返回值: if the association is successfully changed, otherwise, .

TryGetAdapter(SecurityId, DataType) : Guid?

Get adapter by the specified security id.

securityId
Security ID.
dataType
Data type.

返回值: Found adapter identifier or .