1 implementation of Size
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\BrowserFile.cs (1)
18
public long
Size
7 references to Size
Microsoft.AspNetCore.Components.Endpoints.Tests (6)
Binding\FormDataMapperTests.cs (6)
2028
Assert.Equal(expectedString.Length, browserFile.
Size
);
2029
var buffer = new byte[browserFile.
Size
];
2063
Assert.Equal(expectedString1.Length, browserFile1.
Size
);
2064
var buffer1 = new byte[browserFile1.
Size
];
2070
Assert.Equal(expectedString1.Length, browserFile2.
Size
);
2071
var 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