aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
blob: 7590ad7d36c426fa4fcba18ee7746c84044ea0f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using MediaBrowser.Model.Configuration;

namespace MediaBrowser.Controller.Entities;

/// <summary>
/// Event arguments for when library options are updated.
/// </summary>
public class LibraryOptionsUpdatedEventArgs : EventArgs
{
    /// <summary>
    /// Initializes a new instance of the <see cref="LibraryOptionsUpdatedEventArgs"/> class.
    /// </summary>
    /// <param name="libraryPath">The path of the library whose options were updated.</param>
    /// <param name="libraryOptions">The updated library options.</param>
    public LibraryOptionsUpdatedEventArgs(string libraryPath, LibraryOptions libraryOptions)
    {
        LibraryPath = libraryPath;
        LibraryOptions = libraryOptions;
    }

    /// <summary>
    /// Gets the path of the library whose options were updated.
    /// </summary>
    public string LibraryPath { get; }

    /// <summary>
    /// Gets the updated library options.
    /// </summary>
    public LibraryOptions LibraryOptions { get; }
}