CollectionModifiedEventArgs.cs 876 B

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