Class ObservableLogEntries
Implements
Inherited Members
Namespace: FastMoq.Models
Assembly: FastMoq.Core.dll
Syntax
public class ObservableLogEntries : IReadOnlyCollection<LogEntry>, IEnumerable<LogEntry>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Constructors
ObservableLogEntries()
Declaration
public ObservableLogEntries()
Properties
Count
Gets the number of elements in the collection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int | The number of elements in the collection. |
Items
Declaration
public IReadOnlyCollection<LogEntry> Items { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyCollection<LogEntry> |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<LogEntry> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<LogEntry> | An enumerator that can be used to iterate through the collection. |
Events
CollectionChanged
Occurs when the collection changes.
Declaration
public event NotifyCollectionChangedEventHandler? CollectionChanged
Event Type
| Type | Description |
|---|---|
| NotifyCollectionChangedEventHandler |
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler? PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |