[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 namespace SabreTools.Helper
{ {
public class Build public static class Build
{ {
/// <summary> /// <summary>
/// Returns true if running in a Mono environment /// Returns true if running in a Mono environment
@@ -388,6 +388,9 @@ namespace SabreTools.Helper
Pause(); Pause();
} }
/// <summary>
/// Display the credits for the program
/// </summary>
public static void Credits() public static void Credits()
{ {
Console.WriteLine(@"----------------------------------------- Console.WriteLine(@"-----------------------------------------
@@ -402,6 +405,9 @@ Based on work by: The Wizard of DATz");
Pause(); Pause();
} }
/// <summary>
/// Pause on console output
/// </summary>
private static void Pause() private static void Pause()
{ {
if (!Console.IsOutputRedirected) if (!Console.IsOutputRedirected)

View File

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

View File

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

View File

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

View File

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

View File

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