IObservableCollection.cs 769 B

1234567891011121314151617181920212223
  1. namespace Caliburn.Micro.Core {
  2. using System.Collections.Generic;
  3. using System.Collections.Specialized;
  4. /// <summary>
  5. /// Represents a collection that is observable.
  6. /// </summary>
  7. /// <typeparam name = "T">The type of elements contained in the collection.</typeparam>
  8. public interface IObservableCollection<T> : IList<T>, INotifyPropertyChangedEx, INotifyCollectionChanged {
  9. /// <summary>
  10. /// Adds the range.
  11. /// </summary>
  12. /// <param name = "items">The items.</param>
  13. void AddRange(IEnumerable<T> items);
  14. /// <summary>
  15. /// Removes the range.
  16. /// </summary>
  17. /// <param name = "items">The items.</param>
  18. void RemoveRange(IEnumerable<T> items);
  19. }
  20. }