aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2026-05-03 21:56:34 +0200
committerGitHub <noreply@github.com>2026-05-03 21:56:34 +0200
commit6e22075a63432aae48859cf9c67fde158dc80d2e (patch)
treec3a33238cc56857d8e3daa56db01f290118c9215 /MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
parentd9ced0d6399c82ddad9e983605bb0d828a608e63 (diff)
parentd68d0fa96267ad96eaa5a0ba37e072f59a71442a (diff)
Merge pull request #16062 from Shadowghost/perf-rebased
Query Performance Improvements
Diffstat (limited to 'MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs')
-rw-r--r--MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs b/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
new file mode 100644
index 0000000000..7590ad7d36
--- /dev/null
+++ b/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
@@ -0,0 +1,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; }
+}