Implemented interface member:
property
Length
Microsoft.JSInterop.IJSStreamReference.Length
1 write to Length
Microsoft.JSInterop (1)
Implementation\JSStreamReference.cs (1)
30
Length
= totalLength;
3 references to Length
Microsoft.JSInterop (3)
Implementation\JSStreamReference.cs (3)
36
if (
Length
> maxAllowedSize)
38
throw new ArgumentOutOfRangeException(nameof(maxAllowedSize), $"The incoming data stream of length {
Length
} exceeds the maximum allowed length {maxAllowedSize}.");
41
return await _jsRuntime.ReadJSDataAsStreamAsync(this,
Length
, cancellationToken);