PowerToys/Wox.Core/Plugin/QueryDispatcher/GenericQueryDispatcher.cs
2015-10-30 23:23:01 +00:00

14 lines
390 B
C#

using System.Collections.Generic;
using System.Linq;
using Wox.Plugin;
namespace Wox.Core.Plugin.QueryDispatcher
{
public class GenericQueryDispatcher : BaseQueryDispatcher
{
protected override List<PluginPair> GetPlugins(Query query)
{
return PluginManager.AllPlugins.Where(o => PluginManager.IsGenericPlugin(o.Metadata)).ToList();
}
}
}