Table of Contents

Class AnalyticsStorage

Namespace
StockSharp.Hydra.Core
Assembly
StockSharp.Hydra.Core.dll

Analytics storage.

public class AnalyticsStorage : BaseLogReceiver, IPersistable, ILogReceiver, ILogSource, IDisposable
Inheritance
AnalyticsStorage
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

AnalyticsStorage(string)

Initializes a new instance of the AnalyticsStorage.

public AnalyticsStorage(string path)

Parameters

path string

Path to storage.

Properties

Sources

List analytics codes.

public IEnumerable<CodeInfo> Sources { get; }

Property Value

IEnumerable<CodeInfo>

Methods

Init(Func<Type, bool>)

Init storage.

public void Init(Func<Type, bool> isTypeCompatible)

Parameters

isTypeCompatible Func<Type, bool>

Is type compatible.

Remove(CodeInfo)

Remove analytics code.

public void Remove(CodeInfo info)

Parameters

info CodeInfo

CodeInfo

Save(CodeInfo)

Save analytics code.

public void Save(CodeInfo info)

Parameters

info CodeInfo

CodeInfo