internal void RegisterGrid(StackBlazeGrid g)
 {
     if (grids.ContainsKey(g.ElementID))
     {
         grids[g.ElementID] = g;
     }
     else
     {
         grids.Add(g.ElementID, g);
     }
 }
Example #2
0
 internal StackBlazeInterop(StackBlazeGrid sender, IJSRuntime jSRuntime, StackBlazeService c)
 {
     this.JSRuntime  = jSRuntime ?? throw new ArgumentNullException(nameof(jSRuntime));
     this.Grid       = sender;
     this.serviceRef = DotNetObjectReference.Create(c);
 }