mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
26 lines
598 B
C#
26 lines
598 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using WinAlfred.Plugin;
|
|
|
|
namespace WinAlfred.PluginLoader
|
|
{
|
|
public static class Plugins
|
|
{
|
|
private static List<PluginPair> plugins = new List<PluginPair>();
|
|
|
|
public static void Init()
|
|
{
|
|
plugins.Clear();
|
|
plugins.AddRange(new PythonPluginLoader().LoadPlugin());
|
|
plugins.AddRange(new CSharpPluginLoader().LoadPlugin());
|
|
}
|
|
|
|
public static List<PluginPair> AllPlugins
|
|
{
|
|
get { return plugins; }
|
|
}
|
|
}
|
|
}
|