InMemorySecurityMappingStorageProvider

StockSharp.Algo.Storages

En memoria del proveedor de almacenamiento de identificadores de instrumentos financieros identificadores.

Hereda de: Disposable

Implementa: ISecurityMappingStorageProvider, IDisposable

Propiedades

StorageNames
public IEnumerable<string> StorageNames { get; }
value = inMemorySecurityMappingStorageProvider.StorageNames

Consigue nombres de almacenamiento.

Métodos

DisposeManaged
protected override void DisposeManaged()
inMemorySecurityMappingStorageProvider.DisposeManaged()

Libera recursos.

GetStorage
public ISecurityMappingStorage GetStorage(string storageName)
result = inMemorySecurityMappingStorageProvider.GetStorage(storageName)

Obtener almacenamiento para un nombre específico de almacenamiento.

storageName
Nombre de almacenamiento.

Devuelve: Caso de almacenamiento.

InitAsync
public ValueTask<Dictionary<string, Exception>> InitAsync(CancellationToken cancellationToken)
result = inMemorySecurityMappingStorageProvider.InitAsync(cancellationToken)

Inicializar el almacenamiento.

cancellationToken
CancellationToken

Devuelve: Possible errors with storage names. Empty dictionary means initialization without any issues.