Class ObservableQueue<T>
Inheritance
System.Object
ObservableQueue<T>
Implements
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.Collections.ICollection
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class ObservableQueue<T> : Object, IObservableQueue<T>, IQueue<T>, IReadOnlyQueue<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, ICollection, INotifyQueueChanged
Type Parameters
Constructors
ObservableQueue()
Declaration
ObservableQueue(ICollection<T>)
Declaration
public ObservableQueue(ICollection<T> col)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<T> |
col |
|
ObservableQueue(Int32)
Declaration
public ObservableQueue(int capacity)
Parameters
Type |
Name |
Description |
System.Int32 |
capacity |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
Type |
Description |
System.Boolean |
|
SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
add_QueueChanged(NotifyQueueChangedEventHandler)
Declaration
public void add_QueueChanged(NotifyQueueChangedEventHandler value)
Parameters
CopyTo(Array, Int32)
Declaration
public void CopyTo(Array array, int index)
Parameters
Type |
Name |
Description |
System.Array |
array |
|
System.Int32 |
index |
|
Dequeue()
Declaration
Returns
Enqueue(T)
Declaration
public void Enqueue(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Enqueue(IList<T>)
Declaration
public void Enqueue(IList<T> items)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<T> |
items |
|
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<T> |
|
Peek()
Returns the object at the beginning of the queue without removing it.
Declaration
Returns
remove_QueueChanged(NotifyQueueChangedEventHandler)
Declaration
public void remove_QueueChanged(NotifyQueueChangedEventHandler value)
Parameters
Events
QueueChanged
Declaration
public event NotifyQueueChangedEventHandler QueueChanged
Event Type
Implements
System.Collections.Generic.IReadOnlyCollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
System.Collections.ICollection