summaryrefslogtreecommitdiff
path: root/CommandLineWrapper/JsonResults/Implements/InfoResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CommandLineWrapper/JsonResults/Implements/InfoResult.cs')
-rw-r--r--CommandLineWrapper/JsonResults/Implements/InfoResult.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/CommandLineWrapper/JsonResults/Implements/InfoResult.cs b/CommandLineWrapper/JsonResults/Implements/InfoResult.cs
index ecef724..1a3d11e 100644
--- a/CommandLineWrapper/JsonResults/Implements/InfoResult.cs
+++ b/CommandLineWrapper/JsonResults/Implements/InfoResult.cs
@@ -1,5 +1,4 @@
-using CommandLineWrapper;
-using CommandLineWrapper.JsonResults;
+namespace CommandLineWrapper.JsonResults.Implements;
public class InfoResultGetter : JsonResultGetter<InfoResult>
{
@@ -8,6 +7,9 @@ public class InfoResultGetter : JsonResultGetter<InfoResult>
public InfoResultGetter(string mappingName)
=> _mappingName = mappingName;
+ public void ChangeMappingName(string mappingName)
+ => _mappingName = mappingName;
+
protected override Task<JVCSCommandInvoker.InvokeResult> ExecCommand(JVCSWorkspace workspace)
=> workspace.Info(_mappingName);
}