/// <summary> /// Loads the plugin /// </summary> public void Load() { current = this; try { IsLoaded = true; PluginLoaded.IfNotNull(i => i(this)); } catch (Exception err) { IsLoaded = false; PluginLoadFailed.IfNotNull(i => i(this, err)); } }