1 write to _files
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\InputFileChangeEventArgs.cs (1)
19_files = files ?? throw new ArgumentNullException(nameof(files));
6 references to _files
Microsoft.AspNetCore.Components.Web (6)
Forms\InputFile\InputFileChangeEventArgs.cs (6)
25public int FileCount => _files.Count; 31public IBrowserFile File => _files.Count switch 341 => _files[0], 46if (_files.Count > maximumFileCount) 48throw new InvalidOperationException($"The maximum number of files accepted is {maximumFileCount}, but {_files.Count} were supplied."); 51return _files;