aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Console/Network
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2020-03-25 17:43:49 +0200
committerAvi Levkovich <avi@twine-s.com>2020-03-25 17:43:49 +0200
commitd29da53d6f71f45749c0ede5b4cd7281ed3a270e (patch)
treefd83afc7771c0f4f19c581e1cf407bcf7c14818b /Software/Visual_Studio/Tango.Console/Network
parent0208e9f1800c044ec3bd002b7aa7fd00621c81be (diff)
downloadTango-d29da53d6f71f45749c0ede5b4cd7281ed3a270e.tar.gz
Tango-d29da53d6f71f45749c0ede5b4cd7281ed3a270e.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.Console/Network')
-rw-r--r--Software/Visual_Studio/Tango.Console/Network/ConsoleCommandRequest.cs15
-rw-r--r--Software/Visual_Studio/Tango.Console/Network/ConsoleCommandResponse.cs20
-rw-r--r--Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryRequest.cs13
-rw-r--r--Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryResponse.cs19
4 files changed, 67 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Console/Network/ConsoleCommandRequest.cs b/Software/Visual_Studio/Tango.Console/Network/ConsoleCommandRequest.cs
new file mode 100644
index 000000000..d7541506c
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Console/Network/ConsoleCommandRequest.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.Console.Network
+{
+ public class ConsoleCommandRequest
+ {
+ public String WorkingFolder { get; set; }
+ public String Command { get; set; }
+ public bool RunAsAdministrator { get; set; }
+ }
+}
diff --git a/Software/Visual_Studio/Tango.Console/Network/ConsoleCommandResponse.cs b/Software/Visual_Studio/Tango.Console/Network/ConsoleCommandResponse.cs
new file mode 100644
index 000000000..70b72e703
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Console/Network/ConsoleCommandResponse.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.Console.Network
+{
+ public class ConsoleCommandResponse
+ {
+ public String WorkingFolder { get; set; }
+ public String Output { get; set; }
+ public List<ConsoleSuggestion> Suggestions { get; set; }
+
+ public ConsoleCommandResponse()
+ {
+ Suggestions = new List<ConsoleSuggestion>();
+ }
+ }
+}
diff --git a/Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryRequest.cs b/Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryRequest.cs
new file mode 100644
index 000000000..f5abfda70
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryRequest.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.Console.Network
+{
+ public class GetCurrentDirectoryRequest
+ {
+
+ }
+}
diff --git a/Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryResponse.cs b/Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryResponse.cs
new file mode 100644
index 000000000..7b6eedda0
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryResponse.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.Console.Network
+{
+ public class GetCurrentDirectoryResponse
+ {
+ public String CurrentDirectory { get; set; }
+ public List<ConsoleSuggestion> Suggestions { get; set; }
+
+ public GetCurrentDirectoryResponse()
+ {
+ Suggestions = new List<ConsoleSuggestion>();
+ }
+ }
+}