mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Incremental fix for StyleCop on Infra (#5729)
* Fixes file names and classes don't match. All but PluginsSettings * making it pluginsettings * fixing due to conflict
This commit is contained in:
@@ -33,8 +33,9 @@ namespace Wox.Core.Plugin
|
||||
|
||||
public static IPublicAPI API { private set; get; }
|
||||
|
||||
|
||||
// todo happlebao, this should not be public, the indicator function should be embedded
|
||||
public static PluginsSettings Settings;
|
||||
public static PluginSettings Settings;
|
||||
private static List<PluginMetadata> _metadatas;
|
||||
private static readonly string[] Directories = { Constant.PreinstalledDirectory, Constant.PluginsDirectory };
|
||||
|
||||
@@ -74,7 +75,7 @@ namespace Wox.Core.Plugin
|
||||
/// todo happlebao The API should be removed
|
||||
/// </summary>
|
||||
/// <param name="settings"></param>
|
||||
public static void LoadPlugins(PluginsSettings settings)
|
||||
public static void LoadPlugins(PluginSettings settings)
|
||||
{
|
||||
_metadatas = PluginConfig.Parse(Directories);
|
||||
Settings = settings;
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Wox.Core.Plugin
|
||||
{
|
||||
public const string PATH = "PATH";
|
||||
|
||||
public static List<PluginPair> Plugins(List<PluginMetadata> metadatas, PluginsSettings settings)
|
||||
public static List<PluginPair> Plugins(List<PluginMetadata> metadatas, PluginSettings settings)
|
||||
{
|
||||
var csharpPlugins = CSharpPlugins(metadatas).ToList();
|
||||
var executablePlugins = ExecutablePlugins(metadatas);
|
||||
|
||||
Reference in New Issue
Block a user