diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-05-11 05:55:46 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-11 13:55:46 +0200 |
| commit | e3f55a0c54a2517361c237543aba717fd2a16e69 (patch) | |
| tree | 699391d1880b265db662388c7b5c4823b53623ea /MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs | |
| parent | a84e8c3884291acb721aeb202139372462e6c800 (diff) | |
Reduce warnings in MediaBrowser.Controller (#6006)
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
Diffstat (limited to 'MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs')
| -rw-r--r-- | MediaBrowser.Controller/Collections/CollectionModifiedEventArgs.cs | 32 |
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; } + } +} |
