init checkin (#6100)

This commit is contained in:
Clint Rutkas 2020-08-21 12:40:31 -07:00 committed by GitHub
parent 80f8c0399b
commit 83e8799610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 30 additions and 30 deletions

View File

@ -26,7 +26,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0"> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>

View File

@ -16,9 +16,9 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" /> <PackageReference Include="MSTest.TestAdapter" Version="2.1.2" />
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" /> <PackageReference Include="MSTest.TestFramework" Version="2.1.2" />
<PackageReference Include="coverlet.collector" Version="1.2.0" /> <PackageReference Include="coverlet.collector" Version="1.2.0" />
</ItemGroup> </ItemGroup>

View File

@ -34,7 +34,7 @@ namespace Microsoft.Plugin.Calculator
private string IconPath { get; set; } private string IconPath { get; set; }
private bool _disposed = false; private bool _disposed;
public List<Result> Query(Query query) public List<Result> Query(Query query)
{ {

View File

@ -103,7 +103,7 @@
<PackageReference Include="Mages" Version="1.6.0"> <PackageReference Include="Mages" Version="1.6.0">
<NoWarn>NU1701</NoWarn> <NoWarn>NU1701</NoWarn>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0"> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>

View File

@ -32,7 +32,7 @@ namespace Microsoft.Plugin.Folder
private static PluginInitContext _context; private static PluginInitContext _context;
private IContextMenu _contextMenuLoader; private IContextMenu _contextMenuLoader;
private static string warningIconPath; private static string warningIconPath;
private bool _disposed = false; private bool _disposed;
public void Save() public void Save()
{ {

View File

@ -97,7 +97,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0" /> <PackageReference Include="JetBrains.Annotations" Version="2020.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0"> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>

View File

@ -6,11 +6,11 @@ namespace Microsoft.Plugin.Indexer.DriveDetection
{ {
public class IndexerDriveDetection public class IndexerDriveDetection
{ {
private bool IsEnhancedModeEnabled { get; set; } = false; private bool IsEnhancedModeEnabled { get; set; }
private readonly IRegistryWrapper _registryHelper; private readonly IRegistryWrapper _registryHelper;
public bool IsDriveDetectionWarningCheckBoxSelected { get; set; } = false; public bool IsDriveDetectionWarningCheckBoxSelected { get; set; }
public IndexerDriveDetection(IRegistryWrapper registryHelper) public IndexerDriveDetection(IRegistryWrapper registryHelper)
{ {

View File

@ -12,6 +12,6 @@ namespace Microsoft.Plugin.Indexer
public int MaxSearchCount { get; set; } = 30; public int MaxSearchCount { get; set; } = 30;
public bool UseLocationAsWorkingDir { get; set; } = false; public bool UseLocationAsWorkingDir { get; set; }
} }
} }

View File

@ -41,7 +41,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0"> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>

View File

@ -28,7 +28,7 @@
<PackageReference Include="Moq" Version="4.14.5" /> <PackageReference Include="Moq" Version="4.14.5" />
<PackageReference Include="nunit" Version="3.12.0" /> <PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" /> <PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -25,7 +25,7 @@ namespace Microsoft.Plugin.Program
private static PluginInitContext _context; private static PluginInitContext _context;
private readonly PluginJsonStorage<ProgramPluginSettings> _settingsStorage; private readonly PluginJsonStorage<ProgramPluginSettings> _settingsStorage;
private bool _disposed = false; private bool _disposed;
private PackageRepository _packageRepository = new PackageRepository(new PackageCatalogWrapper(), new BinaryStorage<IList<UWPApplication>>("UWP")); private PackageRepository _packageRepository = new PackageRepository(new PackageCatalogWrapper(), new BinaryStorage<IList<UWPApplication>>("UWP"));
private static Win32ProgramFileSystemWatchers _win32ProgramRepositoryHelper; private static Win32ProgramFileSystemWatchers _win32ProgramRepositoryHelper;
private static Win32ProgramRepository _win32ProgramRepository; private static Win32ProgramRepository _win32ProgramRepository;
@ -173,7 +173,7 @@ namespace Microsoft.Plugin.Program
catch (Exception) catch (Exception)
{ {
var name = "Plugin: Program"; var name = "Plugin: Program";
var message = $"Unable to start: {info.FileName}"; var message = $"Unable to start: {info?.FileName}";
_context.API.ShowMsg(name, message, string.Empty); _context.API.ShowMsg(name, message, string.Empty);
} }
} }

View File

@ -91,7 +91,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0" /> <PackageReference Include="JetBrains.Annotations" Version="2020.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0"> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>

View File

@ -17,9 +17,9 @@ namespace Microsoft.Plugin.Program.Programs
public string FamilyName { get; } = string.Empty; public string FamilyName { get; } = string.Empty;
public bool IsFramework { get; } = false; public bool IsFramework { get; }
public bool IsDevelopmentMode { get; } = false; public bool IsDevelopmentMode { get; }
public string InstalledLocation { get; } = string.Empty; public string InstalledLocation { get; } = string.Empty;

View File

@ -128,7 +128,7 @@ namespace Microsoft.Plugin.Program.Programs
// Contains the arguments to the app // Contains the arguments to the app
public string Arguments { get; set; } = string.Empty; public string Arguments { get; set; } = string.Empty;
public bool HasArguments { get; set; } = false; public bool HasArguments { get; set; }
// Retrieve the target path using Shell Link // Retrieve the target path using Shell Link
public string RetrieveTargetPath(string path) public string RetrieveTargetPath(string path)

View File

@ -46,7 +46,7 @@ namespace Microsoft.Plugin.Program.Programs
public bool Enabled { get; set; } public bool Enabled { get; set; }
public bool HasArguments { get; set; } = false; public bool HasArguments { get; set; }
public string Arguments { get; set; } = string.Empty; public string Arguments { get; set; } = string.Empty;

View File

@ -14,7 +14,7 @@ namespace Microsoft.Plugin.Program.Storage
public List<FileSystemWatcherWrapper> FileSystemWatchers { get; set; } public List<FileSystemWatcherWrapper> FileSystemWatchers { get; set; }
private bool _disposed = false; private bool _disposed;
// This class contains the list of directories to watch and initializes the File System Watchers // This class contains the list of directories to watch and initializes the File System Watchers
public Win32ProgramFileSystemWatchers() public Win32ProgramFileSystemWatchers()

View File

@ -12,7 +12,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="nunit" Version="3.12.0" /> <PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" /> <PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -111,7 +111,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0" /> <PackageReference Include="JetBrains.Annotations" Version="2020.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0"> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>

View File

@ -30,7 +30,7 @@ namespace PowerLauncher
private readonly Alphabet _alphabet = new Alphabet(); private readonly Alphabet _alphabet = new Alphabet();
private const string Unique = "PowerLauncher_Unique_Application_Mutex"; private const string Unique = "PowerLauncher_Unique_Application_Mutex";
private static bool _disposed = false; private static bool _disposed;
private static int _powerToysPid; private static int _powerToysPid;
private Settings _settings; private Settings _settings;
private MainViewModel _mainVM; private MainViewModel _mainVM;

View File

@ -23,9 +23,9 @@ namespace PowerLauncher
private readonly Settings _settings; private readonly Settings _settings;
private readonly MainViewModel _viewModel; private readonly MainViewModel _viewModel;
private bool _isTextSetProgrammatically; private bool _isTextSetProgrammatically;
private bool _deletePressed = false; private bool _deletePressed;
private Timer _firstDeleteTimer = new Timer(); private Timer _firstDeleteTimer = new Timer();
private bool _coldStateHotkeyPressed = false; private bool _coldStateHotkeyPressed;
public MainWindow(Settings settings, MainViewModel mainVM) public MainWindow(Settings settings, MainViewModel mainVM)
: this() : this()
@ -314,7 +314,7 @@ namespace PowerLauncher
} }
} }
private bool disposedValue = false; private bool disposedValue;
private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e)
{ {

View File

@ -96,7 +96,7 @@
<PackageReference Include="Mages" Version="1.6.0"> <PackageReference Include="Mages" Version="1.6.0">
<NoWarn>NU1701</NoWarn> <NoWarn>NU1701</NoWarn>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0"> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>

View File

@ -23,7 +23,7 @@ namespace Wox
private readonly MainViewModel _mainVM; private readonly MainViewModel _mainVM;
private readonly Alphabet _alphabet; private readonly Alphabet _alphabet;
private readonly ThemeManager _themeManager; private readonly ThemeManager _themeManager;
private bool _disposed = false; private bool _disposed;
public event ThemeChangedHandler ThemeChanged; public event ThemeChangedHandler ThemeChanged;

View File

@ -63,7 +63,7 @@
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="..\..\..\codeAnalysis\GlobalSuppressions.cs"> <Compile Include="..\..\..\codeAnalysis\GlobalSuppressions.cs">