1 write to Length
Microsoft.AspNetCore.Http.Results.Tests (1)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
550
Length
= length;
6 references to Length
Microsoft.AspNetCore.Http.Results.Tests (6)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (6)
74
Assert.Equal((long?)contentLength, sendFileFeature.
Length
);
111
Assert.Equal(4, sendFileFeature.
Length
);
144
Assert.Null(sendFileFeature.
Length
);
177
Assert.Null(sendFileFeature.
Length
);
212
Assert.Null(sendFileFeature.
Length
);
347
Assert.Equal(contentLength, sendFile.
Length
);