[ALL] We should use static classes for these

This commit is contained in:
Matt Nadareski
2016-10-21 16:25:22 -07:00
parent 2946e0b785
commit 88f11e5826
6 changed files with 12 additions and 6 deletions

View File

@@ -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)