GenericEventArgs.cs 442 B

1234567891011121314151617
  1. using System;
  2. namespace MediaBrowser.Common.Events
  3. {
  4. /// <summary>
  5. /// Provides a generic EventArgs subclass that can hold any kind of object
  6. /// </summary>
  7. /// <typeparam name="T"></typeparam>
  8. public class GenericEventArgs<T> : EventArgs
  9. {
  10. /// <summary>
  11. /// Gets or sets the argument.
  12. /// </summary>
  13. /// <value>The argument.</value>
  14. public T Argument { get; set; }
  15. }
  16. }