diff options
Diffstat (limited to 'CommandLineWrapper/JsonResults/Implements/AccountListResult.cs')
| -rw-r--r-- | CommandLineWrapper/JsonResults/Implements/AccountListResult.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CommandLineWrapper/JsonResults/Implements/AccountListResult.cs b/CommandLineWrapper/JsonResults/Implements/AccountListResult.cs new file mode 100644 index 0000000..600b839 --- /dev/null +++ b/CommandLineWrapper/JsonResults/Implements/AccountListResult.cs @@ -0,0 +1,18 @@ +using CommandLineWrapper; +using CommandLineWrapper.JsonResults; + +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; } +} |
