Table of Contents

Class LogMessageCollection

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

The debug messages collection.

public class LogMessageCollection : ThreadSafeObservableCollection<LogMessage>, INotifyPropertyChanged
Inheritance
LogMessageCollection
Implements
Extension Methods

Fields

DefaultMaxItemsCount

The default value for the maximum number of entries to display.

public static readonly int DefaultMaxItemsCount

Field Value

int

Properties

DebugCount

Number of messages of type Debug.

public int DebugCount { get; }

Property Value

int

ErrorCount

Number of messages of type Error.

public int ErrorCount { get; }

Property Value

int

InfoCount

Number of messages of type Info.

public int InfoCount { get; }

Property Value

int

VerboseCount

Number of messages of type Verbose.

public int VerboseCount { get; }

Property Value

int

WarningCount

Number of messages of type Warning.

public int WarningCount { get; }

Property Value

int

Methods

Add(LogMessage)

To add item.

public override void Add(LogMessage item)

Parameters

item LogMessage

New item.

AddRange(IEnumerable<LogMessage>)

To add items.

public override void AddRange(IEnumerable<LogMessage> items)

Parameters

items IEnumerable<LogMessage>

New items.

Clear()

To delete all items.

public override void Clear()

RemoveRange(int, int)

To delete items.

public override int RemoveRange(int index, int count)

Parameters

index int

Start index.

count int

Count of items.

Returns

int

Count of removed items.