-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathGraph.cs
More file actions
20 lines (16 loc) · 626 Bytes
/
Graph.cs
File metadata and controls
20 lines (16 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
namespace BootstrapBlazor.Components;
public class Graph
{
public IJSObjectReference GraphRef { get; }
internal Graph(IJSObjectReference lGraphRef)
{
GraphRef = lGraphRef;
}
public async Task RunStep(int step, bool ignoreErrors = true, int? limits = null)
{
await GraphRef.InvokeVoidAsync("runStep", step, ignoreErrors, limits);
}
}