27 references to From
Microsoft.AspNetCore.HeaderParsing.Tests (1)
ParserTests.cs (1)
305Assert.Equal(200, result.Ranges.Single().From);
Microsoft.AspNetCore.Http.Results (7)
PhysicalFileHttpResult.cs (1)
152offset = range.From ?? 0L;
src\Shared\RangeHelper\RangeHelper.cs (1)
96var start = range.From;
src\Shared\ResultsHelpers\FileResultHelper.cs (4)
43fileStream.Seek(range.From!.Value, SeekOrigin.Begin); 74from = (int)range.From!.Value; 324range.From!.Value, 336var start = range.From!.Value;
VirtualFileHttpResult.cs (1)
142offset = range.From ?? 0L;
Microsoft.AspNetCore.Mvc.Core (7)
Infrastructure\PhysicalFileResultExecutor.cs (1)
92offset: range.From ?? 0L,
Infrastructure\VirtualFileResultExecutor.cs (1)
96offset: range.From ?? 0L,
src\Shared\RangeHelper\RangeHelper.cs (1)
96var start = range.From;
src\Shared\ResultsHelpers\FileResultHelper.cs (4)
43fileStream.Seek(range.From!.Value, SeekOrigin.Begin); 74from = (int)range.From!.Value; 324range.From!.Value, 336var start = range.From!.Value;
Microsoft.AspNetCore.StaticAssets (2)
src\Shared\RangeHelper\RangeHelper.cs (1)
96var start = range.From;
StaticAssetsInvoker.cs (1)
246start = range.From!.Value;
Microsoft.AspNetCore.StaticFiles (2)
src\Shared\RangeHelper\RangeHelper.cs (1)
96var start = range.From;
StaticFileContext.cs (1)
401start = range.From!.Value;
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
src\Shared\RangeHelper\RangeHelper.cs (1)
96var start = range.From;
Microsoft.AspNetCore.StaticFiles.Tests (3)
RangeHelperTests.cs (3)
43Assert.Equal(normalizedStart, normalizedRange.From); 54Assert.Equal(1, normalizedRange.From); 105Assert.Equal(1, parsedRange.From);
Microsoft.Net.Http.Headers (1)
RangeHeaderValue.cs (1)
94sb.Append(range.From);
Microsoft.Net.Http.Headers.Tests (3)
RangeItemHeaderValueTest.cs (3)
36Assert.Equal(1, rangeItem.From); 138Assert.Equal(expectedFrom, range.From); 152Assert.Equal(expectedRanges[i].Item1, ranges[i].From);