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
|
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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user