Beispiel #1
0
        private static void Main(string[] args)
        {
            var servicesProvider = DependencyInjector.BuildDi();
            var runner           = servicesProvider.GetRequiredService <IRunner>();

            MainAsync(runner).GetAwaiter().GetResult();

            // Ensure to flush and stop internal timers/threads before application-exit (Avoid segmentation fault on Linux)
            LogManager.Shutdown();
        }