diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-13 08:22:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-13 08:22:09 +0800 |
| commit | 5d8b29664c13e6e5c6292d79973980182ece1441 (patch) | |
| tree | ced2f67c82ce0748dbd0090f0fde6b921329d259 /CommandLineWrapper/JsonResults/Implements/ShareSeeResult.cs | |
| parent | 7d59c15b0efd2aa5a27aef356a265f850a2e7e2f (diff) | |
Diffstat (limited to 'CommandLineWrapper/JsonResults/Implements/ShareSeeResult.cs')
| -rw-r--r-- | CommandLineWrapper/JsonResults/Implements/ShareSeeResult.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CommandLineWrapper/JsonResults/Implements/ShareSeeResult.cs b/CommandLineWrapper/JsonResults/Implements/ShareSeeResult.cs index c965b25..0fc63ee 100644 --- a/CommandLineWrapper/JsonResults/Implements/ShareSeeResult.cs +++ b/CommandLineWrapper/JsonResults/Implements/ShareSeeResult.cs @@ -1,7 +1,7 @@ -using CommandLineWrapper; -using CommandLineWrapper.JsonResults; using System.Text.Json.Serialization; +namespace CommandLineWrapper.JsonResults.Implements; + public class ShareSeeResultGetter : JsonResultGetter<SeeShareResult> { private string _shareId; @@ -9,6 +9,9 @@ public class ShareSeeResultGetter : JsonResultGetter<SeeShareResult> public ShareSeeResultGetter(string shareId) => _shareId = shareId; + public void ChangeShareId(string shareId) + => _shareId = shareId; + protected override Task<JVCSCommandInvoker.InvokeResult> ExecCommand(JVCSWorkspace workspace) => workspace.ShareSee(_shareId); } |
