ImmutableSortedSet Class

 

Provides a set of initialization methods for instances of the ImmutableSortedSet<T> class.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

System.Object
  System.Collections.Immutable.ImmutableSortedSet

public static class ImmutableSortedSet

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate<T>()

Creates an empty immutable sorted set.

System_CAPS_pubmethodSystem_CAPS_staticCreate<T>(T)

Creates a new immutable sorted set that contains the specified item.

System_CAPS_pubmethodSystem_CAPS_staticCreate<T>(T[])

Creates a new immutable sorted set that contains the specified array of items.

System_CAPS_pubmethodSystem_CAPS_staticCreate<T>(IComparer<T>)

Creates an empty immutable sorted set that uses the specified comparer.

System_CAPS_pubmethodSystem_CAPS_staticCreate<T>(IComparer<T>, T)

Creates a new immutable sorted set that contains the specified item and uses the specified comparer.

System_CAPS_pubmethodSystem_CAPS_staticCreate<T>(IComparer<T>, T[])

Creates a new immutable sorted set that contains the specified array of items and uses the specified comparer.

System_CAPS_pubmethodSystem_CAPS_staticCreateBuilder<T>()

Returns a collection that can be used to build an immutable sorted set.

System_CAPS_pubmethodSystem_CAPS_staticCreateBuilder<T>(IComparer<T>)

Returns a collection that can be used to build an immutable sorted set.

System_CAPS_pubmethodSystem_CAPS_staticCreateRange<T>(IComparer<T>, IEnumerable<T>)

Creates a new immutable collection that contains the specified items.

System_CAPS_pubmethodSystem_CAPS_staticCreateRange<T>(IEnumerable<T>)

Creates a new immutable collection that contains the specified items.

System_CAPS_pubmethodSystem_CAPS_staticToImmutableSortedSet<TSource>(IEnumerable<TSource>)

Enumerates a sequence and produces an immutable sorted set of its contents.

System_CAPS_pubmethodSystem_CAPS_staticToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.

This type is thread safe.

Return to top
Show: