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

34 lines
872 B
C#
Raw Normal View History

2021-12-06 02:49:27 +03:00
using System;
using BlueWest.Collections;
using BlueWest.Tools;
using BlueWest.Core.Threading;
namespace BlueWest.Core
{
public sealed class BlueProgram
{
private static readonly FastDictionary<Type, FastList<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");
}
}
}