src/modules/launcher/Wox.Core/Plugin/PluginManager.cs
/// <summary>
/// used to add action keyword for multiple action keyword plugin
/// e.g. web search
/// </summary>
used to add action keyword for multiple action keyword plugin
e.g. web search
used to add action keyword for multiple action keyword plugin e . g . web search
public static void AddActionKeyword(string id, string newActionKeyword)
        {
            var plugin = GetPluginForId(id);
            if (newActionKeyword == Query.GlobalPluginWildcardSign)
            {
                GlobalPlugins.Add(plugin);
            }
            else
            {
                NonGlobalPlugins[newActionKeyword] = plugin;
            }
            plugin.Metadata.ActionKeywords.Add(newActionKeyword);
        }
public static void AddActionKeyword ( string id , string newActionKeyword ) { var plugin = GetPluginForId ( id ) ; if ( newActionKeyword == Query . GlobalPluginWildcardSign ) { GlobalPlugins . Add ( plugin ) ; } else { NonGlobalPlugins [ newActionKeyword ] = plugin ; } plugin . Metadata . ActionKeywords . Add ( newActionKeyword ) ; }
used to add action keyword for multiple action keyword plugin
e.g.
used to add action keyword for multiple action keyword plugin e . g .
id
string
newActionKeyword
string