more tweaks

This commit is contained in:
Clint Rutkas 2020-11-18 11:44:00 -08:00
parent f113aadb68
commit 4c853a8f45
4 changed files with 2 additions and 10 deletions

View File

@ -7,7 +7,6 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using System.Text;
using System.Windows;
@ -42,8 +41,6 @@ namespace FancyZonesEditor
private const string CrashReportDynamicAssemblyTag = "dynamic assembly doesn't have location";
private const string CrashReportLocationNullTag = "location is null or empty";
private readonly IFileSystem _fileSystem = new FileSystem();
public MainWindowSettingsModel MainWindowSettings { get; }
public static FancyZonesEditorIO FancyZonesEditorIO { get; private set; }

View File

@ -40,15 +40,10 @@ namespace FancyZonesEditor
public const ushort _blankCustomModelId = 0xFFFA;
public const ushort _lastDefinedId = _blankCustomModelId;
private const int MaxNegativeSpacing = -10;
// Non-localizable strings
public static readonly string RegistryPath = "SOFTWARE\\SuperFancyZones";
public static readonly string FullRegistryPath = "HKEY_CURRENT_USER\\" + RegistryPath;
private const string LayoutTypeBlankStr = "blank";
private const string NullUuidStr = "null";
// hard coded data for all the "Priority Grid" configurations that are unique to "Grid"
private static readonly byte[][] _priorityData = new byte[][]
{

View File

@ -22,7 +22,7 @@ namespace FancyZonesEditor.Utils
{
if (execute == null)
{
throw new ArgumentNullException("execute");
throw new ArgumentNullException(nameof(execute));
}
_execute = execute;

View File

@ -22,7 +22,7 @@ namespace FancyZonesEditor.Utils
{
if (execute == null)
{
throw new ArgumentNullException("execute");
throw new ArgumentNullException(nameof(execute));
}
_execute = execute;