Export (0) Print
Expand All

ImmutableQueue<T> Methods

The ImmutableQueue<T> type exposes the following members.

  Name Description
Public method Clear Removes all objects from the immutable queue.
Public method Dequeue() Removes the element at the beginning of the immutable queue, and returns the new queue.
Public method Dequeue(T) Removes the item at the beginning of the immutable queue, and returns the new queue.
Public method Enqueue Adds an element to the end of the immutable queue, and returns the new queue.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the immutable queue.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Peek Returns the element at the beginning of the immutable queue without removing it.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method Dequeue<T> Removes the item at the beginning of the immutable queue, and returns the new queue. (Defined by ImmutableQueue.)
Public Extension Method ToImmutableArray<T> [This topic is preliminary and is subject to change.]
Creates an immutable array from the specified collection.
(Defined by ImmutableArray.)
Public Extension Method ToImmutableDictionary<T, TKey>(Func<T, TKey>) Overloaded. Constructs an immutable dictionary from an existing collection of elements, applying a transformation function to the source keys. (Defined by ImmutableDictionary.)
Public Extension Method ToImmutableDictionary<T, TKey>(Func<T, TKey>, IEqualityComparer<TKey>) Overloaded. Constructs an immutable dictionary based on some transformation of a sequence. (Defined by ImmutableDictionary.)
Public Extension Method ToImmutableDictionary<T, TKey, TValue>(Func<T, TKey>, Func<T, TValue>) Overloaded. Enumerates and transforms a sequence, and produces an immutable dictionary of its contents. (Defined by ImmutableDictionary.)
Public Extension Method ToImmutableDictionary<T, TKey, TValue>(Func<T, TKey>, Func<T, TValue>, IEqualityComparer<TKey>) Overloaded. Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key comparer. (Defined by ImmutableDictionary.)
Public Extension Method ToImmutableDictionary<T, TKey, TValue>(Func<T, TKey>, Func<T, TValue>, IEqualityComparer<TKey>, IEqualityComparer<TValue>) Overloaded. Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key and value comparers. (Defined by ImmutableDictionary.)
Public Extension Method ToImmutableHashSet<T>() Overloaded. Enumerates a sequence and produces an immutable hash set of its contents. (Defined by ImmutableHashSet.)
Public Extension Method ToImmutableHashSet<T>(IEqualityComparer<T>) Overloaded. Enumerates a sequence, produces an immutable hash set of its contents, and uses the specified equality comparer for the set type. (Defined by ImmutableHashSet.)
Public Extension Method ToImmutableList<T> Enumerates a sequence and produces an immutable list of its contents. (Defined by ImmutableList.)
Public Extension Method ToImmutableSortedDictionary<T, TKey, TValue>(Func<T, TKey>, Func<T, TValue>) Overloaded. Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents. (Defined by ImmutableSortedDictionary.)
Public Extension Method ToImmutableSortedDictionary<T, TKey, TValue>(Func<T, TKey>, Func<T, TValue>, IComparer<TKey>) Overloaded. Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer. (Defined by ImmutableSortedDictionary.)
Public Extension Method ToImmutableSortedDictionary<T, TKey, TValue>(Func<T, TKey>, Func<T, TValue>, IComparer<TKey>, IEqualityComparer<TValue>) Overloaded. Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers. (Defined by ImmutableSortedDictionary.)
Public Extension Method ToImmutableSortedSet<T>() Overloaded. Enumerates a sequence and produces an immutable sorted set of its contents. (Defined by ImmutableSortedSet.)
Public Extension Method ToImmutableSortedSet<T>(IComparer<T>) Overloaded. Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer. (Defined by ImmutableSortedSet.)
Top

  Name Description
Explicit interface implemetation Private method IEnumerable<T>.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implemetation Private method IImmutableQueue<T>.Clear Removes all elements from the immutable queue.
Explicit interface implemetation Private method IImmutableQueue<T>.Dequeue Removes the element at the beginning of the immutable queue, and returns the new queue.
Explicit interface implemetation Private method IImmutableQueue<T>.Enqueue Adds an element to the end of the immutable queue, and returns the new queue.
Top
Show:
© 2015 Microsoft