ImmutableSortedSet<T> Methods

The ImmutableSortedSet<T> type exposes the following members.

  Name Description
Public method Add Adds the specified value to this immutable sorted set.
Public method Clear Removes all elements from the immutable sorted set.
Public method Contains Determines whether this immutable sorted set contains the specified value.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Except Removes a specified set of items from this immutable sorted set.
Public method GetEnumerator Returns an enumerator that iterates through the immutable sorted set.
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 IndexOf Gets the position within this immutable sorted set that the specified value appears in.
Public method Intersect Creates an immutable sorted set that contains elements that exist both in this set and in the specified set.
Public method IsProperSubsetOf Determines whether the current immutable sorted set is a proper (strict) subset of the specified collection.
Public method IsProperSupersetOf Determines whether the current immutable sorted set is a proper superset of a specified collection.
Public method IsSubsetOf Determines whether the current immutable sorted set is a subset of a specified collection.
Public method IsSupersetOf Determines whether the current immutable sorted set is a superset of a specified collection.
Public method Overlaps Determines whether the current immutable sorted set and a specified collection share common elements.
Public method Remove Removes the specified value from this immutable sorted set.
Public method Reverse Returns an IEnumerable<T> that iterates over this immutable sorted set in reverse order.
Public method SetEquals Determines whether the current immutable sorted set and the specified collection contain the same elements.
Public method SymmetricExcept Creates an immutable sorted set that contains elements that exist either in this set or in a given sequence, but not both.
Public method ToBuilder Creates a collection that has the same contents as this immutable sorted set that can be efficiently manipulated by using standard mutable interfaces.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValue Searches the set for a given value and returns the equal value it finds, if any.
Public method Union Adds a given set of items to this immutable sorted set.
Public method WithComparer Returns the immutable sorted set that has the specified key comparer.
Top

  Name Description
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 ICollection<T>.Add Adds the specified value to the collection.
Explicit interface implemetation Private method ISet<T>.Add Adds an element to the current set and returns a value to indicate if the element was successfully added.
Explicit interface implemetation Private method IList.Add Adds an item to the set.
Explicit interface implemetation Private method ICollection<T>.Clear Removes all the items from the collection.
Explicit interface implemetation Private method IList.Clear Removes all items from the set.
Explicit interface implemetation Private method IList.Contains Determines whether the set contains a specific value.
Explicit interface implemetation Private method ICollection<T>.CopyTo Copies the elements of the collection to an array, starting at a particular array index.
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the set to an array, starting at a particular array index.
Explicit interface implemetation Private method ISet<T>.ExceptWith Removes all elements in the specified collection from the current set.
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 IList.IndexOf Determines the index of a specific item in the set.
Explicit interface implemetation Private method IList<T>.Insert Inserts an item in the set at the specified index..
Explicit interface implemetation Private method IList.Insert Inserts an item into the set at the specified index.
Explicit interface implemetation Private method ISet<T>.IntersectWith Modifies the current set so that it contains only elements that are also in a specified collection
Explicit interface implemetation Private method ICollection<T>.Remove Removes the first occurrence of a specific object from the collection.
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specific object from the set.
Explicit interface implemetation Private method IList<T>.RemoveAt Removes the item at the specified index.
Explicit interface implemetation Private method IList.RemoveAt Removes the item at the specified index of the set.
Explicit interface implemetation Private method ISet<T>.SymmetricExceptWith Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.
Explicit interface implemetation Private method ISet<T>.UnionWith Modifies the current set so that it contains all elements that are present in either the current set or the specified collection.
Explicit interface implemetation Private method IImmutableSet<T>.Add Adds the specified element to this immutable set.
Explicit interface implemetation Private method IImmutableSet<T>.Clear Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.
Explicit interface implemetation Private method IImmutableSet<T>.Except Removes the elements in the specified collection from the current immutable set.
Explicit interface implemetation Private method IImmutableSet<T>.Intersect Creates an immutable set that contains elements that exist in both this set and the specified set.
Explicit interface implemetation Private method IImmutableSet<T>.Remove Removes the specified element from this immutable set.
Explicit interface implemetation Private method IImmutableSet<T>.SymmetricExcept Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.
Explicit interface implemetation Private method IImmutableSet<T>.Union Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.
Top
Show: