React to ISendFileFeature parameter name change.

This commit is contained in:
Chris R 2016-02-08 11:53:57 -08:00
parent 44834debeb
commit 4f8d1863d8
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ namespace Microsoft.AspNetCore.Mvc
await sendFile.SendFileAsync( await sendFile.SendFileAsync(
FileName, FileName,
offset: 0, offset: 0,
length: null, count: null,
cancellation: default(CancellationToken)); cancellation: default(CancellationToken));
} }
else else

View File

@ -103,7 +103,7 @@ namespace Microsoft.AspNetCore.Mvc
await sendFile.SendFileAsync( await sendFile.SendFileAsync(
physicalPath, physicalPath,
offset: 0, offset: 0,
length: null, count: null,
cancellation: default(CancellationToken)); cancellation: default(CancellationToken));
} }
else else