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