CodeLiturgy.Dashboard/BlueWest/Core/System/BlueProgram.cs

34 lines
870 B
C#

using System;
using System.Collections.Generic;
using BlueWest.Tools;
using BlueWest.Core.Threading;
namespace BlueWest.Core
{
public sealed class BlueProgram
{
private static readonly Dictionary<Type, List<EventListenerBase>> Events = new(10000);
private static readonly EventManager EventManager = new(Events);
private readonly BlueConsole _blueConsole = new BlueConsole();
public void Run()
{
new ThreadServer(EventManager);
BlueWestConsoleBanner();
}
private void BlueWestConsoleBanner()
{
Console.WriteLine(" |------------------------------«");
Console.WriteLine(" » Blue West «");
Console.WriteLine(" |------------------------------«\n");
}
}
}