blob: c6242ff66035476a35a6c10c45368a8a57b89cab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
namespace CommandLineWrapper.JsonResults.Implements;
public class AccountListResultGetter : JsonResultGetter<AccountListResult>
{
protected override Task<JVCSCommandInvoker.InvokeResult> ExecCommand(JVCSWorkspace workspace)
=> workspace.AccountList();
}
public struct AccountListResult
{
public Dictionary<string, AccountItem> Result { get; set; }
}
public struct AccountItem
{
public bool HasPrivateKey { get; set; }
}
|