Class SubscriptionInfo
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
Subscription.
public class SubscriptionInfo : BindableBase
- Inheritance
-
SubscriptionInfo
- Extension Methods
Constructors
SubscriptionInfo(SessionInfo, Subscription)
Initializes a new instance of the SubscriptionInfo.
public SubscriptionInfo(SessionInfo session, Subscription subscription)
Parameters
session
SessionInfoSession.
subscription
SubscriptionSubscription.
Properties
BytesReceived
The number of bytes received.
public long BytesReceived { get; set; }
Property Value
BytesSent
The number of bytes sent.
public long BytesSent { get; set; }
Property Value
DataType
Data type.
public string DataType { get; }
Property Value
ErrorCount
The number of errors.
public int ErrorCount { get; set; }
Property Value
LastMessageTime
Last message time.
public DateTimeOffset? LastMessageTime { get; set; }
Property Value
MessagesCount
Total messages count.
public long MessagesCount { get; set; }
Property Value
Session
Session.
public SessionInfo Session { get; }
Property Value
Subscription
Subscription.
public Subscription Subscription { get; }
Property Value
Methods
RefreshSubscription()
Refresh subscription state.
public void RefreshSubscription()