4 instantiations of RangeItemHeaderValue
System.Net.Http (4)
System\Net\Http\Headers\RangeHeaderValue.cs (2)
38
Ranges.Add(new
RangeItemHeaderValue
(from, to));
50
this.Ranges.Add(new
RangeItemHeaderValue
(range));
System\Net\Http\Headers\RangeItemHeaderValue.cs (2)
207
parsedValue = new
RangeItemHeaderValue
((fromLength == 0 ? null : from), (toLength == 0 ? null : to));
213
return new
RangeItemHeaderValue
(this);
13 references to RangeItemHeaderValue
netstandard (1)
netstandard.cs (1)
1116
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.
RangeItemHeaderValue
))]
System.Net.Http (12)
System\Net\Http\Headers\RangeHeaderValue.cs (7)
15
private UnvalidatedObjectCollection<
RangeItemHeaderValue
>? _ranges;
27
public ICollection<
RangeItemHeaderValue
> Ranges => _ranges ??= new UnvalidatedObjectCollection<
RangeItemHeaderValue
>();
48
foreach (
RangeItemHeaderValue
range in source._ranges)
64
foreach (
RangeItemHeaderValue
range in _ranges)
103
foreach (
RangeItemHeaderValue
range in _ranges)
163
int rangesLength =
RangeItemHeaderValue
.GetRangeItemListLength(input, current, result.Ranges);
System\Net\Http\Headers\RangeItemHeaderValue.cs (5)
44
internal RangeItemHeaderValue(
RangeItemHeaderValue
source)
70
obj is
RangeItemHeaderValue
other &&
80
ICollection<
RangeItemHeaderValue
> rangeCollection)
101
int rangeLength = GetRangeItemLength(input, current, out
RangeItemHeaderValue
? range);
127
internal static int GetRangeItemLength(string? input, int startIndex, out
RangeItemHeaderValue
? parsedValue)