src/Orleans.Core/Runtime/RingRange.cs
/// <summary>
/// Creates a new <see cref="IRingRange"/> representing the union of all provided ranges.
/// </summary>
/// <param name="inRanges">The ranges.</param>
/// <returns>A new <see cref="IRingRange"/> representing the union of all provided ranges.</returns>
Creates a new  representing the union of all provided ranges.
Creates a new representing the union of all provided ranges .
public static IRingRange CreateRange(List<IRingRange> inRanges) => inRanges.Count switch
        {
            0 => EmptyRange,
            1 => inRanges[0],
            _ => GeneralMultiRange.Create(inRanges)
        };
public static IRingRange CreateRange ( List < IRingRange > inRanges ) => inRanges . Count switch { 0 => EmptyRange , 1 => inRanges [ 0 ] , _ => GeneralMultiRange . Create ( inRanges ) } ;
Creates a new  representing the union of all provided ranges.
Creates a new representing the union of all provided ranges .
A new  representing the union of all provided ranges.
A new representing the union of all provided ranges .
inRanges
List<IRingRange>
None