1 implementation of Size
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\BrowserFile.cs (1)
18public long Size
7 references to Size
Microsoft.AspNetCore.Components.Endpoints.Tests (6)
Binding\FormDataMapperTests.cs (6)
2028Assert.Equal(expectedString.Length, browserFile.Size); 2029var buffer = new byte[browserFile.Size]; 2063Assert.Equal(expectedString1.Length, browserFile1.Size); 2064var buffer1 = new byte[browserFile1.Size]; 2070Assert.Equal(expectedString1.Length, browserFile2.Size); 2071var buffer2 = new byte[browserFile2.Size];
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\IBrowserFile.cs (1)
41/// will throw if the file's size, as specified by <see cref="Size"/> is larger than