1 instantiation of JSStreamReference
Microsoft.JSInterop (1)
Infrastructure\JSStreamReferenceJsonConverter.cs (1)
64
return new
JSStreamReference
(_jsRuntime, id.Value, length.Value);
9 references to JSStreamReference
Microsoft.JSInterop (3)
Implementation\JSStreamReference.cs (1)
17
/// Initializes a new <see cref="
JSStreamReference
"/> instance.
Infrastructure\JSStreamReferenceJsonConverter.cs (2)
22
=> typeToConvert == typeof(IJSStreamReference) || typeToConvert == typeof(
JSStreamReference
);
69
JSObjectReferenceJsonWorker.WriteJSObjectReference(writer, (
JSStreamReference
)value);
Microsoft.JSInterop.Tests (6)
Infrastructure\JSStreamReferenceJsonConverterTest.cs (5)
85
var
deserialized = (
JSStreamReference
)JsonSerializer.Deserialize<IJSStreamReference>(json, JsonSerializerOptions)!;
101
var
deserialized = (
JSStreamReference
)JsonSerializer.Deserialize<IJSStreamReference>(json, JsonSerializerOptions)!;
112
var
jsObjectRef = new JSStreamReference(JSRuntime, 7, 10);
JSRuntimeTest.cs (1)
418
var
dataReference = new JSStreamReference(runtime, 10, 10);