mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 19:19:23 +08: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; }
|
|||
|
}
|
|||
|
}
|
|||
|
}
|