11 references to BrowserFile
Microsoft.AspNetCore.Components.Web (11)
Forms\InputFile.cs (6)
67
internal Stream OpenReadStream(
BrowserFile
file, long maxAllowedSize, CancellationToken cancellationToken)
75
internal async ValueTask<IBrowserFile> ConvertToImageFileAsync(
BrowserFile
file, string format, int maxWidth, int maxHeight)
77
var
imageFile = await JSRuntime.InvokeAsync<
BrowserFile
>(InputFileInterop.ToImageFile, _inputFileElement, file.Id, format, maxWidth, maxHeight);
89
Task IInputFileJsCallbacks.NotifyChange(
BrowserFile
[] files)
91
foreach (
var
file in files)
Forms\InputFile\BrowserFileExtensions.cs (1)
29
if (browserFile is
BrowserFile
browserFileInternal)
Forms\InputFile\BrowserFileStream.cs (2)
13
private readonly
BrowserFile
_file;
25
BrowserFile
file,
Forms\InputFile\IInputFileJsCallbacks.cs (1)
8
Task NotifyChange(
BrowserFile
[] files);
Forms\InputFile\InputFileJsCallbacksRelay.cs (1)
24
public Task NotifyChange(
BrowserFile
[] files)