aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-05-27 06:07:57 -0600
committercrobibero <cody@robibe.ro>2021-05-27 06:07:57 -0600
commit01e8ff8ddf84ac033a00917664482f67572e0f9b (patch)
tree288ad75a0413995442eddf0e78d0c3bb72139456 /MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
parent78791a932f4a83834c1fb58e28a94cce6c8f349c (diff)
parent75704effaed91456bf6e4d46f7d6c7145bcdec5f (diff)
Merge remote-tracking branch 'upstream/master' into healthy-base-url
Diffstat (limited to 'MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs')
-rw-r--r--MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs b/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
new file mode 100644
index 000000000..8155cf3db
--- /dev/null
+++ b/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
@@ -0,0 +1,32 @@
+#nullable disable
+
+#pragma warning disable CS1591
+
+using System;
+using System.Collections.Generic;
+using MediaBrowser.Controller.Entities;
+using MediaBrowser.Controller.Entities.Movies;
+
+namespace MediaBrowser.Controller.Collections
+{
+ public class CollectionModifiedEventArgs : EventArgs
+ {
+ public CollectionModifiedEventArgs(BoxSet collection, IReadOnlyCollection<BaseItem> itemsChanged)
+ {
+ Collection = collection;
+ ItemsChanged = itemsChanged;
+ }
+
+ /// <summary>
+ /// Gets or sets the collection.
+ /// </summary>
+ /// <value>The collection.</value>
+ public BoxSet Collection { get; set; }
+
+ /// <summary>
+ /// Gets or sets the items changed.
+ /// </summary>
+ /// <value>The items changed.</value>
+ public IReadOnlyCollection<BaseItem> ItemsChanged { get; set; }
+ }
+}