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

33 lines
843 B
C#
Raw Normal View History

2021-12-06 02:49:27 +03:00
using System;
2022-08-13 08:34:20 +03:00
using System.Collections.Generic;
2021-12-06 02:49:27 +03:00
using BlueWest.Tools;
namespace BlueWest.Core
{
public sealed class BlueProgram
{
2022-08-13 08:34:20 +03:00
private static readonly Dictionary<Type, List<EventListenerBase>> Events = new(10000);
2021-12-06 02:49:27 +03:00
private static readonly EventManager EventManager = new(Events);
private readonly BlueConsole _blueConsole = new BlueConsole();
public void Run()
{
2022-08-22 00:14:50 +03:00
_ = new ThreadServer(EventManager);
2021-12-06 02:49:27 +03:00
BlueWestConsoleBanner();
}
private void BlueWestConsoleBanner()
{
Console.WriteLine(" |------------------------------«");
Console.WriteLine(" » Blue West «");
Console.WriteLine(" |------------------------------«\n");
}
}
}