System.Collections.Immutable.ImmutableSortedSet
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
{
public static class ImmutableSortedSet
{
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>();
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>(IComparer<T> comparer);
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>(T item);
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>(IComparer<T> comparer, T item);
public static ImmutableSortedSet<T> CreateRange<[Nullable(2)] T>(IEnumerable<T> items);
public static ImmutableSortedSet<T> CreateRange<[Nullable(2)] T>(IComparer<T> comparer, IEnumerable<T> items);
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>(params T[] items);
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>(ReadOnlySpan<T> items);
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>(IComparer<T> comparer, params T[] items);
public static ImmutableSortedSet<T> Create<[Nullable(2)] T>(IComparer<T> comparer, ReadOnlySpan<T> items);
public static ImmutableSortedSet<T>.Builder CreateBuilder<[Nullable(2)] T>();
public static ImmutableSortedSet<T>.Builder CreateBuilder<[Nullable(2)] T>(IComparer<T> comparer);
public static ImmutableSortedSet<TSource> ToImmutableSortedSet<[Nullable(2)] TSource>(this IEnumerable<TSource> source, IComparer<TSource> comparer);
public static ImmutableSortedSet<TSource> ToImmutableSortedSet<[Nullable(2)] TSource>(this IEnumerable<TSource> source);
public static ImmutableSortedSet<TSource> ToImmutableSortedSet<[Nullable(2)] TSource>(this ImmutableSortedSet<TSource>.Builder builder);
}
}