< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Entities.LibraryOptionsUpdatedEventArgs
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 31
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 5/4/2026 - 12:15:16 AM Line coverage: 100% (2/2) Total lines: 31

Metrics

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

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs

#LineLine coverage
 1using System;
 2using MediaBrowser.Model.Configuration;
 3
 4namespace MediaBrowser.Controller.Entities;
 5
 6/// <summary>
 7/// Event arguments for when library options are updated.
 8/// </summary>
 9public class LibraryOptionsUpdatedEventArgs : EventArgs
 10{
 11    /// <summary>
 12    /// Initializes a new instance of the <see cref="LibraryOptionsUpdatedEventArgs"/> class.
 13    /// </summary>
 14    /// <param name="libraryPath">The path of the library whose options were updated.</param>
 15    /// <param name="libraryOptions">The updated library options.</param>
 316    public LibraryOptionsUpdatedEventArgs(string libraryPath, LibraryOptions libraryOptions)
 17    {
 18        LibraryPath = libraryPath;
 19        LibraryOptions = libraryOptions;
 320    }
 21
 22    /// <summary>
 23    /// Gets the path of the library whose options were updated.
 24    /// </summary>
 25    public string LibraryPath { get; }
 26
 27    /// <summary>
 28    /// Gets the updated library options.
 29    /// </summary>
 30    public LibraryOptions LibraryOptions { get; }
 31}