ArchiSteamFarm.Program.InitShutdownSequence C# (CSharp) Method

InitShutdownSequence() static private method

static private InitShutdownSequence ( ) : void
return void
        internal static void InitShutdownSequence()
        {
            foreach (Bot bot in Bot.Bots.Values.Where(bot => bot.KeepRunning)) {
                bot.Stop();
            }
        }

Same methods

Program::InitShutdownSequence ( ) : bool

Usage Example

Example #1
0
 private async void MainForm_FormClosed(object sender, FormClosedEventArgs e) => await Program.InitShutdownSequence().ConfigureAwait(false);
All Usage Examples Of ArchiSteamFarm.Program::InitShutdownSequence