Beispiel #1
0
 public static void Main()
 {
     ProgramRun.MasterCode();
 }
Beispiel #2
0
 protected override async Task ExecuteAsync(CancellationToken stoppingToken)
 {
     Log.LogMessage("Bot service started and running. Calling Main method.");
     ProgramRun.Run(_config);
 }
Beispiel #3
0
 protected override void OnStart(string[] args)
 {
     Log.LogMessage("Bot service started and running. Calling Main method.");
     ProgramRun.Run();
 }