Renames Server.Console.Program to Server.Console.Console

This commit is contained in:
Cyberboss
2017-11-13 01:35:20 -05:00
parent 511c18ee85
commit 5fabace833
2 changed files with 6 additions and 6 deletions
@@ -5,19 +5,19 @@ namespace TGS.Server.Console
/// <summary>
/// Console runner for a <see cref="Server"/>
/// </summary>
sealed class Program : ILogger
sealed class Console : ILogger
{
/// <summary>
/// Entry point to the <see cref="Program"/>
/// Entry point to the <see cref="Console"/>
/// </summary>
/// <param name="args"></param>
static void Main(string[] args) => new Program(args);
static void Main(string[] args) => new Console(args);
/// <summary>
/// Construct and run a <see cref="Program"/>
/// Construct and run a <see cref="Console"/>
/// </summary>
/// <param name="args">Command line arguments</param>
Program(string[] args)
Console(string[] args)
{
System.Console.WriteLine("Starting server...");
var server = new Server(args, this); //no using to avoid including more references
+1 -1
View File
@@ -57,7 +57,7 @@
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Console.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>