1 write to Id
Microsoft.JSInterop (1)
Implementation\JSObjectReference.cs (1)
33Id = id;
15 references to Id
Microsoft.JSInterop (15)
Implementation\JSInProcessObjectReference.cs (5)
34return _jsRuntime.Invoke<TValue>(identifier, Id, JSCallType.FunctionCall, args); 43return _jsRuntime.Invoke<IJSInProcessObjectReference>(identifier, Id, JSCallType.NewCall, args); 52return _jsRuntime.Invoke<TValue>(identifier, Id, JSCallType.GetValue); 61_jsRuntime.Invoke<TValue>(identifier, Id, JSCallType.SetValue, value); 71DisposeJSObjectReferenceById(Id);
Implementation\JSObjectReference.cs (9)
41return _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.FunctionCall, args); 49return _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.FunctionCall, cancellationToken, args); 57return _jsRuntime.InvokeAsync<IJSObjectReference>(Id, identifier, JSCallType.NewCall, args); 65return _jsRuntime.InvokeAsync<IJSObjectReference>(Id, identifier, JSCallType.NewCall, cancellationToken, args); 73return _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.GetValue, null); 81return _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.GetValue, null); 89await _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.SetValue, [value]); 97await _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.SetValue, [value]); 107await _jsRuntime.InvokeVoidAsync("DotNet.disposeJSObjectReferenceById", Id);
Implementation\JSObjectReferenceJsonWorker.cs (1)
63writer.WriteNumber(JSObjectIdKey, objectReference.Id);