smaller stylecop fixes in Wox.Core and Wox.Infra (#5671)

* Headers
unneeded usings
files need blank line at bottom
Fixed double returns
Returns after braces

* commenting out stylecop
This commit is contained in:
Clint Rutkas
2020-08-05 14:06:42 -07:00
committed by GitHub
parent 30b65028fe
commit 92a2b83bc8
50 changed files with 308 additions and 116 deletions

View File

@@ -1,3 +1,7 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.ObjectModel;
using System.Drawing;
@@ -18,6 +22,7 @@ namespace Wox.Infrastructure.UserSettings
return _previousHotkey;
}
}
public string Hotkey
{
get
@@ -34,6 +39,7 @@ namespace Wox.Infrastructure.UserSettings
}
}
}
public string Language { get; set; } = "en";
public string Theme { get; set; } = "Dark";
public string QueryBoxFont { get; set; } = FontFamily.GenericSansSerif.Name;
@@ -44,8 +50,7 @@ namespace Wox.Infrastructure.UserSettings
public string ResultFontStyle { get; set; }
public string ResultFontWeight { get; set; }
public string ResultFontStretch { get; set; }
/// <summary>
/// when false Alphabet static service will always return empty results
/// </summary>
@@ -100,6 +105,7 @@ namespace Wox.Infrastructure.UserSettings
}
}
}
public int ActivateTimes { get; set; }
// Order defaults to 0 or -1, so 1 will let this property appear last
@@ -128,6 +134,7 @@ namespace Wox.Infrastructure.UserSettings
OnPropertyChanged();
}
}
public bool LeaveCmdOpen { get; set; }
public bool HideWhenDeactivated { get; set; } = true;
public bool ClearInputOnLaunch { get; set; } = false;
@@ -155,4 +162,4 @@ namespace Wox.Infrastructure.UserSettings
LayeredWindow = 1,
DWM = 2
}
}
}