SecurityNativeIdMessageAdapter

StockSharp.Algo

Security native id message adapter.

继承自: MessageAdapterWrapper

构造函数

SecurityNativeIdMessageAdapter(IMessageAdapter, INativeIdStorageProvider)

Initializes a new instance of the SecurityNativeIdMessageAdapter.

innerAdapter
The adapter, to which messages will be directed.
storageProvider
Security native identifier storage provider.
SecurityNativeIdMessageAdapter(IMessageAdapter, INativeIdStorageProvider, ISecurityNativeIdManager)

Initializes a new instance of the SecurityNativeIdMessageAdapter with a custom manager.

innerAdapter
The adapter, to which messages will be directed.
storageProvider
Security native identifier storage provider.
manager
Security native id manager.

属性

StorageProvider : INativeIdStorageProvider

Security native identifier storage provider.

方法

Clone() : IMessageAdapter

Create a copy of SecurityNativeIdMessageAdapter.

返回值: Copy.

Dispose()

Disposes of items in the pool that implement IDisposable.

OnInnerAdapterNewOutMessageAsync(Message, CancellationToken) : ValueTask

Process InnerAdapter output message.

message
The message.
cancellationToken
Cancellation token.