Exemple #1
0
 public async Task InitializeHandler()
 {
     await _jsRuntime.InvokeVoidAsync("splitterLib.setResizeHandlerInstance", DotNetObjectReference.Create(this));
 }
Exemple #2
0
 public HxToast()
 {
     dotnetObjectReference = DotNetObjectReference.Create(this);
 }
 public void GetBoundingClientRect(string ElementID)
 {
     BPaintCJsInterop.GetElementBoundingClientRect(ElementID, DotNetObjectReference.Create(this));
 }
Exemple #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);
 }
Exemple #5
0
 protected override void Dispose(bool disposing)
 {
     _reference = null;
     _          = JsInvokeAsync(JSInteropConstants.DisposeObj, ReferenceName);
     base.Dispose(disposing);
 }
Exemple #6
0
 public ValueTask AddEventListener <T>(ElementReference element, DotNetObjectReference <T> dotnet, string @event, string callback) where T : class =>
 new ValueTask();
Exemple #7
0
 private record ListenForResizeCallbackInfo(
     DotNetObjectReference <BreakpointService> DotnetRef, ResizeOptions options, Guid ListenerId);