PowerToys/src/modules/launcher/Wox.Infrastructure/FileSystemHelper
Avneet Kaur beecdc8d79
[fxcop] Fixes for Wox.Plugin (2of3) - Moved logger interface to Wox.Plugin (#7464)
* Moved Logger/Log.cs from Wox.Infrastructure to Wox.Plugin

- Installed Logger dependency in Wox.Plugin: NLog.Extensions.Logging
- Moved file Log.cs from Wox.Infrastructure/Logger/ to Wox.Plugin/Logger
- Moved file Constant.cs from Wox.Infrastructure to Wox.Plugin: This file was moved since Log.cs depends on this class
    - Copied Wox.Infrastructure.Helper.NonNull to Wox.Plugin.Constant since Constant.cs depends on this method
- Replaced all "using Wox.Infrastructure.Logger" to "using Wox.Plugin.Logger" in all files as needed
- Replaced Wox.Infrastructure.Constant to Wox.Plugin.Constant in all files as needed

* Removed Nlog.Extensions.Logging from Wox.Infrastructure

* Added logging and suppressed general exceptions (CA1031: Do not catch general exception types)

* Resolved fxcop errors introduced by newly added Log.cs

- CA1307: Specify StringComparison for clarity
- CA2000: Dispose objects before losing scope
- CA1062: Validate arguments of public methods

* Replaced Wox.Infrastructure.Logger with Wox.Plugin.Logger
2020-10-23 13:06:22 -07:00
..
DirectoryWrapper.cs [Launcher] Categorize Lnk files in program plugin correctly as per the target file type (#6348) 2020-09-10 15:06:37 -07:00
FileVersionInfoWrapper.cs more fixes for getting styleCop up, this will need one more push to get another 15 that will require renaming of vars (#5875) 2020-08-11 13:40:26 -07:00
FileWrapper.cs [fxcop] Fixes for Wox.Plugin (2of3) - Moved logger interface to Wox.Plugin (#7464) 2020-10-23 13:06:22 -07:00
IDirectoryWrapper.cs [Launcher] Categorize Lnk files in program plugin correctly as per the target file type (#6348) 2020-09-10 15:06:37 -07:00
IFileVersionInfoWrapper.cs whitespace stylecop fixes for Wox.Infra (#5689) 2020-08-06 11:28:13 -07:00
IFileWrapper.cs smaller stylecop fixes in Wox.Core and Wox.Infra (#5671) 2020-08-05 14:06:42 -07:00