Esempio n. 1
0
 public async Task InitializeHandler()
 {
     await _jsRuntime.InvokeVoidAsync("splitterLib.setResizeHandlerInstance", DotNetObjectReference.Create(this));
 }
Esempio n. 2
0
 public HxToast()
 {
     dotnetObjectReference = DotNetObjectReference.Create(this);
 }
 public void GetBoundingClientRect(string ElementID)
 {
     BPaintCJsInterop.GetElementBoundingClientRect(ElementID, DotNetObjectReference.Create(this));
 }
Esempio n. 4
0
 /// <summary>
 /// Creates an instance of the dev tools interop
 /// </summary>
 /// <param name="jsRuntime"></param>
 public ReduxDevToolsInterop(IJSRuntime jsRuntime)
 {
     JSRuntime = jsRuntime;
     DotNetRef = DotNetObjectReference.Create(this);
 }
Esempio n. 5
0
 protected override void Dispose(bool disposing)
 {
     _reference = null;
     _          = JsInvokeAsync(JSInteropConstants.DisposeObj, ReferenceName);
     base.Dispose(disposing);
 }
Esempio n. 6
0
 public ValueTask AddEventListener <T>(ElementReference element, DotNetObjectReference <T> dotnet, string @event, string callback) where T : class =>
 new ValueTask();
Esempio n. 7
0
 private record ListenForResizeCallbackInfo(
     DotNetObjectReference <BreakpointService> DotnetRef, ResizeOptions options, Guid ListenerId);