private void InvokePluginChecker(PluginAttribute attribute, Object _Object) { foreach (var Checker in this.PluginCheckerList) { Checker.Invoke(attribute, (IChatBotPlugin)_Object); } }
private bool IsSameUserPluginLoaded(PluginAttribute attribute) { foreach (var loadedPluginAttribute in this.pluginObjectMap.Keys) { if (loadedPluginAttribute.Equals(attribute)) { return(true); } } return(false); }