2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Common.Configuration
|
|
|
|
{
|
2022-08-12 18:37:31 +00:00
|
|
|
/// <summary>
|
|
|
|
/// <see cref="EventArgs" /> for the ConfigurationUpdated event.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
public class ConfigurationUpdateEventArgs : EventArgs
|
|
|
|
{
|
|
|
|
/// <summary>
|
2022-08-12 18:37:31 +00:00
|
|
|
/// Initializes a new instance of the <see cref="ConfigurationUpdateEventArgs"/> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="key">The configuration key.</param>
|
|
|
|
/// <param name="newConfiguration">The new configuration.</param>
|
|
|
|
public ConfigurationUpdateEventArgs(string key, object newConfiguration)
|
|
|
|
{
|
|
|
|
Key = key;
|
|
|
|
NewConfiguration = newConfiguration;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the key.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The key.</value>
|
2022-08-12 18:37:31 +00:00
|
|
|
public string Key { get; }
|
2019-10-09 15:10:16 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
2022-08-12 18:37:31 +00:00
|
|
|
/// Gets the new configuration.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The new configuration.</value>
|
2022-08-12 18:37:31 +00:00
|
|
|
public object NewConfiguration { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|