CollectionModifiedEventArgs.cs 895 B

1234567891011121314151617181920212223242526272829303132
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using MediaBrowser.Controller.Entities;
  6. using MediaBrowser.Controller.Entities.Movies;
  7. namespace MediaBrowser.Controller.Collections
  8. {
  9. public class CollectionModifiedEventArgs : EventArgs
  10. {
  11. public CollectionModifiedEventArgs(BoxSet collection, IReadOnlyCollection<BaseItem> itemsChanged)
  12. {
  13. Collection = collection;
  14. ItemsChanged = itemsChanged;
  15. }
  16. /// <summary>
  17. /// Gets or sets the collection.
  18. /// </summary>
  19. /// <value>The collection.</value>
  20. public BoxSet Collection { get; set; }
  21. /// <summary>
  22. /// Gets or sets the items changed.
  23. /// </summary>
  24. /// <value>The items changed.</value>
  25. public IReadOnlyCollection<BaseItem> ItemsChanged { get; set; }
  26. }
  27. }