REFACTOR: Member or type can be made internal.

This commit is contained in:
2017-12-20 02:08:37 +00:00
parent b53b80c998
commit ef49fdfd45
87 changed files with 544 additions and 544 deletions

View File

@@ -42,9 +42,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
public static class Analyze
static class Analyze
{
public static void doAnalyze(AnalyzeOptions options)
internal static void doAnalyze(AnalyzeOptions options)
{
DicConsole.DebugWriteLine("Analyze command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Analyze command", "--verbose={0}", options.Verbose);

View File

@@ -36,9 +36,9 @@ using DiscImageChef.Core;
namespace DiscImageChef.Commands
{
public static class Benchmark
static class Benchmark
{
public static void doBenchmark(BenchmarkOptions options)
internal static void doBenchmark(BenchmarkOptions options)
{
Dictionary<string, double> checksumTimes = new Dictionary<string, double>();
Core.Benchmark.InitProgressEvent += Progress.InitProgress;

View File

@@ -40,12 +40,12 @@ using Schemas;
namespace DiscImageChef.Commands
{
public static class Checksum
static class Checksum
{
// How many sectors to read at once
const uint sectorsToRead = 256;
public static void doChecksum(ChecksumOptions options)
internal static void doChecksum(ChecksumOptions options)
{
DicConsole.DebugWriteLine("Checksum command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Checksum command", "--verbose={0}", options.Verbose);

View File

@@ -40,9 +40,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
public static class Compare
static class Compare
{
public static void doCompare(CompareOptions options)
internal static void doCompare(CompareOptions options)
{
DicConsole.DebugWriteLine("Compare command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Compare command", "--verbose={0}", options.Verbose);

View File

@@ -36,9 +36,9 @@ using DiscImageChef.Settings;
namespace DiscImageChef.Commands
{
public static class Configure
static class Configure
{
public static void doConfigure()
internal static void doConfigure()
{
ConsoleKeyInfo pressedKey = new ConsoleKeyInfo();

View File

@@ -42,9 +42,9 @@ using Schemas;
namespace DiscImageChef.Commands
{
public static class CreateSidecar
static class CreateSidecar
{
public static void doSidecar(CreateSidecarOptions options)
internal static void doSidecar(CreateSidecarOptions options)
{
Sidecar.InitProgressEvent += Progress.InitProgress;
Sidecar.UpdateProgressEvent += Progress.UpdateProgress;

View File

@@ -37,9 +37,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
public static class Decode
static class Decode
{
public static void doDecode(DecodeOptions options)
internal static void doDecode(DecodeOptions options)
{
DicConsole.DebugWriteLine("Decode command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Decode command", "--verbose={0}", options.Verbose);

View File

@@ -38,9 +38,9 @@ using DiscImageChef.Devices;
namespace DiscImageChef.Commands
{
public static class DeviceInfo
static class DeviceInfo
{
public static void doDeviceInfo(DeviceInfoOptions options)
internal static void doDeviceInfo(DeviceInfoOptions options)
{
DicConsole.DebugWriteLine("Device-Info command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Device-Info command", "--verbose={0}", options.Verbose);

View File

@@ -38,9 +38,9 @@ using DiscImageChef.Devices;
namespace DiscImageChef.Commands
{
public static class DeviceReport
static class DeviceReport
{
public static void doDeviceReport(DeviceReportOptions options)
internal static void doDeviceReport(DeviceReportOptions options)
{
DicConsole.DebugWriteLine("Device-Report command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Device-Report command", "--verbose={0}", options.Verbose);

View File

@@ -42,9 +42,9 @@ using DiscImageChef.Metadata;
namespace DiscImageChef.Commands
{
public static class DumpMedia
static class DumpMedia
{
public static void doDumpMedia(DumpMediaOptions options)
internal static void doDumpMedia(DumpMediaOptions options)
{
DicConsole.DebugWriteLine("Dump-Media command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Dump-Media command", "--verbose={0}", options.Verbose);

View File

@@ -40,9 +40,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
public static class Entropy
static class Entropy
{
public static void doEntropy(EntropyOptions options)
internal static void doEntropy(EntropyOptions options)
{
DicConsole.DebugWriteLine("Entropy command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Entropy command", "--verbose={0}", options.Verbose);

View File

@@ -44,9 +44,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
// TODO: Rewrite this, has an insane amount of repeating code ;)
public static class ExtractFiles
static class ExtractFiles
{
public static void doExtractFiles(ExtractFilesOptions options)
internal static void doExtractFiles(ExtractFilesOptions options)
{
DicConsole.DebugWriteLine("Extract-Files command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Extract-Files command", "--verbose={0}", options.Verbose);

View File

@@ -40,9 +40,9 @@ using DiscImageChef.PartPlugins;
namespace DiscImageChef.Commands
{
public static class Formats
static class Formats
{
public static void ListFormats(FormatsOptions FormatsOptions)
internal static void ListFormats(FormatsOptions FormatsOptions)
{
PluginBase plugins = new PluginBase();
plugins.RegisterAllPlugins();

View File

@@ -36,9 +36,9 @@ using DiscImageChef.Devices;
namespace DiscImageChef.Commands
{
public static class ListDevices
static class ListDevices
{
public static void doListDevices(ListDevicesOptions options)
internal static void doListDevices(ListDevicesOptions options)
{
DicConsole.DebugWriteLine("Media-Info command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Media-Info command", "--verbose={0}", options.Verbose);

View File

@@ -36,7 +36,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Commands
{
public static class ListEncodings
static class ListEncodings
{
struct CommonEncodingInfo
{
@@ -44,7 +44,7 @@ namespace DiscImageChef.Commands
public string DisplayName;
}
public static void DoList(ListEncodingsOptions EncodingOptions)
internal static void DoList(ListEncodingsOptions EncodingOptions)
{
List<CommonEncodingInfo> encodings = new List<CommonEncodingInfo>();

View File

@@ -42,9 +42,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
public static class Ls
static class Ls
{
public static void doLs(LsOptions options)
internal static void doLs(LsOptions options)
{
DicConsole.DebugWriteLine("Ls command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Ls command", "--verbose={0}", options.Verbose);

View File

@@ -39,9 +39,9 @@ using DiscImageChef.Devices;
namespace DiscImageChef.Commands
{
public static class MediaInfo
static class MediaInfo
{
public static void doMediaInfo(MediaInfoOptions options)
internal static void doMediaInfo(MediaInfoOptions options)
{
DicConsole.DebugWriteLine("Media-Info command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Media-Info command", "--verbose={0}", options.Verbose);

View File

@@ -37,9 +37,9 @@ using DiscImageChef.Devices;
namespace DiscImageChef.Commands
{
public static class MediaScan
static class MediaScan
{
public static void doMediaScan(MediaScanOptions options)
internal static void doMediaScan(MediaScanOptions options)
{
DicConsole.DebugWriteLine("Media-Scan command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Media-Scan command", "--verbose={0}", options.Verbose);

View File

@@ -37,9 +37,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
public static class PrintHex
static class PrintHex
{
public static void doPrintHex(PrintHexOptions options)
internal static void doPrintHex(PrintHexOptions options)
{
DicConsole.DebugWriteLine("PrintHex command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("PrintHex command", "--verbose={0}", options.Verbose);

View File

@@ -35,9 +35,9 @@ using DiscImageChef.Metadata;
namespace DiscImageChef.Commands
{
public static class Statistics
static class Statistics
{
public static void showStats()
internal static void showStats()
{
if(Core.Statistics.AllStats == null)
{

View File

@@ -39,9 +39,9 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Commands
{
public static class Verify
static class Verify
{
public static void doVerify(VerifyOptions options)
internal static void doVerify(VerifyOptions options)
{
DicConsole.DebugWriteLine("Verify command", "--debug={0}", options.Debug);
DicConsole.DebugWriteLine("Verify command", "--verbose={0}", options.Verbose);