예제 #1
0
 public static void SetCallbackJSRuntime <T>(DotNetObjectReference <T> source, BlazorWorkerJSRuntime jsruntime) where T : class
 {
     jsRuntimeReferences.Add(source, jsruntime);
 }
예제 #2
0
 public DotNetObjectReferenceJsonConverter(BlazorWorkerJSRuntime jsRuntime)
 {
     CallbackJSRuntime = jsRuntime;
 }