using System.Collections.Generic; using Wox.Plugin; namespace Wox.Core.Plugin.QueryDispatcher { public class ExclusiveQueryDispatcher : BaseQueryDispatcher { protected override List GetPlugins(Query query) { List pluginPairs = new List(); var exclusivePluginPair = PluginManager.GetExclusivePlugin(query) ?? PluginManager.GetActionKeywordPlugin(query); if (exclusivePluginPair != null) { pluginPairs.Add(exclusivePluginPair); } return pluginPairs; } } }