The Free Software Media System - Server Backend & API
Update BasePlugin.cs
BaronGreenback8c0748b677ea
diff --git a/MediaBrowser.Common/Plugins/BasePlugin.cs b/MediaBrowser.Common/Plugins/BasePlugin.csindex b89bc7eba5..55443e518e 100644--- a/MediaBrowser.Common/Plugins/BasePlugin.cs+++ b/MediaBrowser.Common/Plugins/BasePlugin.cs@@ -175,6 +175,11 @@ namespace MediaBrowser.Common.Plugins/// <value>The type of the configuration.</value>public Type ConfigurationType => typeof(TConfigurationType);+ /// <summary>+ /// Gets or sets the event handler that is triggered when this configuration changes.+ /// </summary>+ public EventHandler<BasePluginConfiguration> ConfigurationChanged { get; set; }+/// <summary>/// Gets the name the assembly file./// </summary>@@ -270,6 +275,8 @@ namespace MediaBrowser.Common.PluginsConfiguration = (TConfigurationType)configuration;SaveConfiguration();++ ConfigurationChanged.Invoke(this, configuration);}/// <inheritdoc />