Click or drag to resize

StorageHelperClearDatesCache Method

Clear dates cache for storages.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static void ClearDatesCache(
	this IEnumerable<IMarketDataDrive> drives,
	Action<int, int> updateProgress,
	Func<bool> isCancelled,
	ILogReceiver logsReceiver
)

Parameters

drives
Type: System.Collections.GenericIEnumerableIMarketDataDrive
Storage drives.
updateProgress
Type: SystemActionInt32, Int32
The handler through which a progress change will be passed.
isCancelled
Type: SystemFuncBoolean
The handler which returns an attribute of search cancel.
logsReceiver
Type: StockSharp.LoggingILogReceiver
Logs receiver.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableIMarketDataDrive. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also