< Summary - Jellyfin

Information
Class: MediaBrowser.Common.Configuration.ConfigurationUpdateEventArgs
Assembly: MediaBrowser.Common
File(s): /srv/git/jellyfin/MediaBrowser.Common/Configuration/ConfigurationUpdateEventArgs.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 33
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Common/Configuration/ConfigurationUpdateEventArgs.cs

#LineLine coverage
 1using System;
 2
 3namespace MediaBrowser.Common.Configuration
 4{
 5    /// <summary>
 6    /// <see cref="EventArgs" /> for the ConfigurationUpdated event.
 7    /// </summary>
 8    public class ConfigurationUpdateEventArgs : EventArgs
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="ConfigurationUpdateEventArgs"/> class.
 12        /// </summary>
 13        /// <param name="key">The configuration key.</param>
 14        /// <param name="newConfiguration">The new configuration.</param>
 115        public ConfigurationUpdateEventArgs(string key, object newConfiguration)
 16        {
 17            Key = key;
 18            NewConfiguration = newConfiguration;
 119        }
 20
 21        /// <summary>
 22        /// Gets the key.
 23        /// </summary>
 24        /// <value>The key.</value>
 25        public string Key { get; }
 26
 27        /// <summary>
 28        /// Gets the new configuration.
 29        /// </summary>
 30        /// <value>The new configuration.</value>
 31        public object NewConfiguration { get; }
 32    }
 33}