Class ObservableQueue<TItem>
A Queue<T> that implements INotifyCollectionChanged and INotifyPropertyChanged.
Since the behavior itself is not changed, see Queue<T> for a detailed API documentation.
Inherited Members
Namespace: BionicCode.Utilities.Net
Assembly: BionicCode.Utilities.Net.Common.dll
Syntax
public class ObservableQueue<TItem> : Queue<TItem>, IReadOnlyCollection<TItem>, IEnumerable<TItem>, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Type Parameters
| Name | Description |
|---|---|
| TItem |
Methods
| Improve this Doc View SourceClear()
Removes all objects from the Queue<T>.
Declaration
public void Clear()
Dequeue()
Removes and returns the object at the beginning of the Queue<T>.
Declaration
public TItem Dequeue()
Returns
| Type | Description |
|---|---|
| TItem |
Enqueue(TItem)
Adds an object to the end of the Queue<T>.
Declaration
public void Enqueue(TItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| TItem | item | The object to add to the Queue<T>. The value can be |
Events
| Improve this Doc View SourceCollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
| Type | Description |
|---|---|
| NotifyCollectionChangedEventHandler |
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |