public string ProcessPluginCommand(string action, params string[] args) { ICommandPlugin plugin; if (!Webserver.TryGetPluginByName(action.ToLower(), out plugin)) { throw new System.Collections.Generic.KeyNotFoundException(); } AddData(plugin.Execute(args)); return(Render()); }