Click or drag to resize

StorageMessageAdapter Constructor (IMessageAdapter, IEntityRegistry, IStorageRegistry, SnapshotRegistry, CandleBuilderProvider)

Initializes a new instance of the StorageMessageAdapter.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public StorageMessageAdapter(
	IMessageAdapter innerAdapter,
	IEntityRegistry entityRegistry,
	IStorageRegistry storageRegistry,
	SnapshotRegistry snapshotRegistry,
	CandleBuilderProvider candleBuilderProvider
)

Parameters

innerAdapter
Type: StockSharp.MessagesIMessageAdapter
The adapter, to which messages will be directed.
entityRegistry
Type: StockSharp.Algo.StoragesIEntityRegistry
The storage of trade objects.
storageRegistry
Type: StockSharp.Algo.StoragesIStorageRegistry
The storage of market data.
snapshotRegistry
Type: StockSharp.Algo.StoragesSnapshotRegistry
Snapshot storage registry.
candleBuilderProvider
Type: StockSharp.Algo.Candles.CompressionCandleBuilderProvider
Candle builders provider.
See Also