aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2021-08-18 02:46:59 -0400
committerGitHub <noreply@github.com>2021-08-18 02:46:59 -0400
commit72d3f7020ad80ce1a53eeae8c5d57abeb22a4679 (patch)
treedd43e663838cdc7d99a4af565523df58ae23c856 /MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
parent7aef0fce444e6d8e06386553ec7ea1401a01bbb1 (diff)
parente5cbafdb6b47377052e0d638908ef96e30a997d6 (diff)
Merge branch 'master' into patch-2
Diffstat (limited to 'MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs')
-rw-r--r--MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs b/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
new file mode 100644
index 000000000..e538fa4b3
--- /dev/null
+++ b/MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs
@@ -0,0 +1,30 @@
+#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; }
+ }
+}