コード例 #1
0
 public void Dispose()
 {
     JS.Destroy(JSRuntime, ElementId);
     JS.DisposeDotNetObjectRef(dotNetObjectRef);
 }
コード例 #2
0
        private async Task Initialize()
        {
            dotNetObjectRef = dotNetObjectRef ?? JS.CreateDotNetObjectRef(new ChartAdapter(this));

            await JS.InitializeChart(JSRuntime, dotNetObjectRef, Clicked.HasDelegate, Hovered.HasDelegate, ElementId, Type, Data, Options, DataJsonString, OptionsJsonString);
        }