mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Global usings and file scoped namespaces
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
using System;
|
||||
namespace NadekoBot.Common;
|
||||
|
||||
namespace NadekoBot.Common
|
||||
public static class Helpers
|
||||
{
|
||||
public static class Helpers
|
||||
public static void ReadErrorAndExit(int exitCode)
|
||||
{
|
||||
public static void ReadErrorAndExit(int exitCode)
|
||||
{
|
||||
if (!Console.IsInputRedirected)
|
||||
Console.ReadKey();
|
||||
if (!Console.IsInputRedirected)
|
||||
Console.ReadKey();
|
||||
|
||||
Environment.Exit(exitCode);
|
||||
}
|
||||
Environment.Exit(exitCode);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user