mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] We should use static classes for these
This commit is contained in:
@@ -4,7 +4,7 @@ using System.Diagnostics;
|
||||
|
||||
namespace SabreTools.Helper
|
||||
{
|
||||
public class Build
|
||||
public static class Build
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns true if running in a Mono environment
|
||||
@@ -388,6 +388,9 @@ namespace SabreTools.Helper
|
||||
Pause();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Display the credits for the program
|
||||
/// </summary>
|
||||
public static void Credits()
|
||||
{
|
||||
Console.WriteLine(@"-----------------------------------------
|
||||
@@ -402,6 +405,9 @@ Based on work by: The Wizard of DATz");
|
||||
Pause();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Pause on console output
|
||||
/// </summary>
|
||||
private static void Pause()
|
||||
{
|
||||
if (!Console.IsOutputRedirected)
|
||||
|
||||
Reference in New Issue
Block a user