1 instantiation of JSStreamReference
Microsoft.JSInterop (1)
Infrastructure\JSStreamReferenceJsonConverter.cs (1)
64return 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); 69JSObjectReferenceJsonWorker.WriteJSObjectReference(writer, (JSStreamReference)value);
Microsoft.JSInterop.Tests (6)
Infrastructure\JSStreamReferenceJsonConverterTest.cs (5)
85var deserialized = (JSStreamReference)JsonSerializer.Deserialize<IJSStreamReference>(json, JsonSerializerOptions)!; 101var deserialized = (JSStreamReference)JsonSerializer.Deserialize<IJSStreamReference>(json, JsonSerializerOptions)!; 112var jsObjectRef = new JSStreamReference(JSRuntime, 7, 10);
JSRuntimeTest.cs (1)
418var dataReference = new JSStreamReference(runtime, 10, 10);