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

View File

@@ -2,7 +2,7 @@
namespace SabreTools.Helper
{
public class Constants
public static class Constants
{
/// <summary>
/// The current toolset version to be used by all child applications

View File

@@ -10,7 +10,7 @@ using System.Text.RegularExpressions;
namespace SabreTools.Helper
{
public class ArchiveTools
public static class ArchiveTools
{
private const int _bufferSize = 4096 * 128;

View File

@@ -7,7 +7,7 @@ namespace SabreTools.Helper
/// <summary>
/// All general database operations
/// </summary>
public class DatabaseTools
public static class DatabaseTools
{
/// <summary>
/// Add a header to the database

View File

@@ -11,7 +11,7 @@ using System.Xml.Schema;
namespace SabreTools.Helper
{
public class FileTools
public static class FileTools
{
#region File Information

View File

@@ -11,7 +11,7 @@ namespace SabreTools.Helper
/// <summary>
/// Include character normalization and replacement mappings
/// </summary>
public class Style
public static class Style
{
#region WoD-based String Cleaning