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