mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-28 18:43:46 +01:00
Merge branch 'master' into network-rewrite
This commit is contained in:
@@ -1,22 +1,33 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Common.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// <see cref="EventArgs" /> for the ConfigurationUpdated event.
|
||||
/// </summary>
|
||||
public class ConfigurationUpdateEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the key.
|
||||
/// Initializes a new instance of the <see cref="ConfigurationUpdateEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <value>The key.</value>
|
||||
public string Key { get; set; }
|
||||
/// <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 or sets the new configuration.
|
||||
/// Gets the key.
|
||||
/// </summary>
|
||||
/// <value>The key.</value>
|
||||
public string Key { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the new configuration.
|
||||
/// </summary>
|
||||
/// <value>The new configuration.</value>
|
||||
public object NewConfiguration { get; set; }
|
||||
public object NewConfiguration { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#nullable disable
|
||||
|
||||
namespace MediaBrowser.Common.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -14,5 +14,10 @@
|
||||
/// Gets the value for the MusicBrainz named http client.
|
||||
/// </summary>
|
||||
public const string MusicBrainz = nameof(MusicBrainz);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the value for the DLNA named http client.
|
||||
/// </summary>
|
||||
public const string Dlna = nameof(Dlna);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user