* Stylecop Rules and Fixes
This commit is contained in:
Qstick 2020-01-03 07:49:24 -05:00
parent a602611a5f
commit a4b78b44ce
1307 changed files with 8702 additions and 7403 deletions

View file

@ -2,7 +2,7 @@
{
public static class Program
{
static void Main()
private static void Main()
{
ServiceHelper.Run(@"/i");
}

View file

@ -31,18 +31,18 @@ namespace ServiceInstall
}
var startInfo = new ProcessStartInfo
{
FileName = LidarrExe,
Arguments = arg,
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true
};
{
FileName = LidarrExe,
Arguments = arg,
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true
};
var process = new Process { StartInfo = startInfo };
process.OutputDataReceived += (OnDataReceived);
process.ErrorDataReceived += (OnDataReceived);
process.OutputDataReceived += OnDataReceived;
process.ErrorDataReceived += OnDataReceived;
process.Start();

View file

@ -2,7 +2,7 @@
{
public static class Program
{
static void Main()
private static void Main()
{
ServiceHelper.Run(@"/u");
}

View file

@ -31,18 +31,18 @@ namespace ServiceUninstall
}
var startInfo = new ProcessStartInfo
{
FileName = LidarrExe,
Arguments = arg,
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true
};
{
FileName = LidarrExe,
Arguments = arg,
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true
};
var process = new Process { StartInfo = startInfo };
process.OutputDataReceived += (OnDataReceived);
process.ErrorDataReceived += (OnDataReceived);
process.OutputDataReceived += OnDataReceived;
process.ErrorDataReceived += OnDataReceived;
process.Start();