Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    Queue<TItem>
    ObservableQueue<TItem>
    Implements
    IReadOnlyCollection<TItem>
    IEnumerable<TItem>
    ICollection
    IEnumerable
    INotifyCollectionChanged
    INotifyPropertyChanged
    Inherited Members
    Queue<TItem>.Contains(TItem)
    Queue<TItem>.CopyTo(TItem[], Int32)
    Queue<TItem>.GetEnumerator()
    Queue<TItem>.Peek()
    Queue<TItem>.IEnumerable<TItem>.GetEnumerator()
    Queue<TItem>.ICollection.CopyTo(Array, Int32)
    Queue<TItem>.IEnumerable.GetEnumerator()
    Queue<TItem>.ToArray()
    Queue<TItem>.TrimExcess()
    Queue<TItem>.Count
    Queue<TItem>.ICollection.IsSynchronized
    Queue<TItem>.ICollection.SyncRoot
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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 Source

    Clear()

    Removes all objects from the Queue<T>.

    Declaration
    public void Clear()
    | Improve this Doc View Source

    Dequeue()

    Removes and returns the object at the beginning of the Queue<T>.

    Declaration
    public TItem Dequeue()
    Returns
    Type Description
    TItem
    | Improve this Doc View Source

    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 null for reference types.

    Events

    | Improve this Doc View Source

    CollectionChanged

    Declaration
    public event NotifyCollectionChangedEventHandler CollectionChanged
    Event Type
    Type Description
    NotifyCollectionChangedEventHandler
    | Improve this Doc View Source

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    Implements

    IReadOnlyCollection<T>
    IEnumerable<T>
    ICollection
    IEnumerable
    INotifyCollectionChanged
    INotifyPropertyChanged

    Extension Methods

    HelperExtensionsCommon.IsEmpty<TItem>(IEnumerable<TItem>)
    HelperExtensionsCommon.TakeRange<TItem>(IEnumerable<TItem>, Int32, Int32)
    HelperExtensionsCommon.LastOrDefaultInSorted<TItem>(IEnumerable<TItem>, Func<TItem, Boolean>)
    HelperExtensionsCommon.LastInSorted<TItem>(IEnumerable<TItem>, Func<TItem, Boolean>)
    HelperExtensionsCommon.ToDataTable<TData>(IEnumerable<TData>)
    HelperExtensionsCommon.ToDictionary(Object)
    HelperExtensionsCommon.ToFlatDictionary(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX