/// <summary> /// Initializes a new instance of the <see cref="ImmutableSortedSetBuilderDebuggerProxy{T}"/> class. /// </summary> /// <param name="builder">The collection to display in the debugger</param> public ImmutableSortedSetBuilderDebuggerProxy(ImmutableSortedSet <T> .Builder builder) { Requires.NotNull(builder, "builder"); _set = builder; }
/// <summary> /// Initializes a new instance of the <see cref="DebuggerProxy"/> class. /// </summary> /// <param name="builder">The collection to display in the debugger</param> public DebuggerProxy(ImmutableSortedSet <T> .Builder builder) { Requires.NotNull(builder, "builder"); this.set = builder.Root; }
public static ImmutableSortedSet <TSource> ToImmutableSortedSet <TSource>(this ImmutableSortedSet <TSource> .Builder builder) { Requires.NotNull(builder, nameof(builder)); return(builder.ToImmutable()); }
/// <summary> /// Initializes a new instance of the <see cref="ImmutableSortedSetDebuggerProxy{T}"/> class. /// </summary> /// <param name="set">The collection to display in the debugger</param> public ImmutableSortedSetDebuggerProxy(ImmutableSortedSet <T> set) { Requires.NotNull(set, nameof(set)); _set = set; }