Implemented interface member:
property
Size
Microsoft.AspNetCore.Components.Forms.IBrowserFile.Size
4 references to Size
Microsoft.AspNetCore.Components.Web (4)
Forms\InputFile\BrowserFile.cs (3)
25throw new ArgumentOutOfRangeException(nameof(Size), $"Size must be a non-negative value. Value provided: {value}."); 38if (Size > maxAllowedSize) 40throw new IOException($"Supplied file with size {Size} bytes exceeds the maximum of {maxAllowedSize} bytes.");
Forms\InputFile\BrowserFileStream.cs (1)
44public override long Length => _file.Size;