From fb69cc80fc9e22549915f2a0905323f145e23374 Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Sat, 1 Sep 2018 00:36:43 -0400 Subject: New terminal in the form of a console application --- PortsTerminal/App.config | 6 ++++ PortsTerminal/PortsTerminal.csproj | 62 ++++++++++++++++++++++++++++++++ PortsTerminal/Program.cs | 26 ++++++++++++++ PortsTerminal/Properties/AssemblyInfo.cs | 36 +++++++++++++++++++ 4 files changed, 130 insertions(+) create mode 100644 PortsTerminal/App.config create mode 100644 PortsTerminal/PortsTerminal.csproj create mode 100644 PortsTerminal/Program.cs create mode 100644 PortsTerminal/Properties/AssemblyInfo.cs (limited to 'PortsTerminal') diff --git a/PortsTerminal/App.config b/PortsTerminal/App.config new file mode 100644 index 0000000..bae5d6d --- /dev/null +++ b/PortsTerminal/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/PortsTerminal/PortsTerminal.csproj b/PortsTerminal/PortsTerminal.csproj new file mode 100644 index 0000000..0f9e69f --- /dev/null +++ b/PortsTerminal/PortsTerminal.csproj @@ -0,0 +1,62 @@ + + + + + Debug + AnyCPU + {51B19B80-B154-4EFE-B838-FEC598F9E6D9} + Exe + PortsTerminal + PortsTerminal + v4.6.1 + 512 + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + {c1b21b60-7ccc-42fc-83aa-b41644faa952} + PortEngine + + + {7ff89341-be42-4ae1-b53e-f9fa4104d30f} + Project Ports + + + + \ No newline at end of file diff --git a/PortsTerminal/Program.cs b/PortsTerminal/Program.cs new file mode 100644 index 0000000..6640c6c --- /dev/null +++ b/PortsTerminal/Program.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using PortEngine; + +namespace PortsTerminal +{ + class Program + { + static void Main(string[] args) + { + bool RunConsole = true; + PortsTerminalAPI.InitializeConsole(); + + while(RunConsole == true) + { + PortsTerminalAPI.RunCommand(Console.ReadLine()); + } + + + Console.ReadLine(); + } + } +} diff --git a/PortsTerminal/Properties/AssemblyInfo.cs b/PortsTerminal/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c530a10 --- /dev/null +++ b/PortsTerminal/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("PortsTerminal")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("PortsTerminal")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("51b19b80-b154-4efe-b838-fec598f9e6d9")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] -- cgit v1.2.3