ServerEventArgs.cs 831 B

12345678910111213141516171819202122232425262728293031
  1. using MediaBrowser.Model.Session;
  2. using System;
  3. namespace MediaBrowser.Model.ApiClient
  4. {
  5. /// <summary>
  6. /// Class SystemCommandEventArgs
  7. /// </summary>
  8. public class GeneralCommandEventArgs : EventArgs
  9. {
  10. /// <summary>
  11. /// Gets or sets the command.
  12. /// </summary>
  13. /// <value>The command.</value>
  14. public GeneralCommand Command { get; set; }
  15. /// <summary>
  16. /// Gets or sets the type of the known command.
  17. /// </summary>
  18. /// <value>The type of the known command.</value>
  19. public GeneralCommandType? KnownCommandType { get; set; }
  20. }
  21. /// <summary>
  22. /// Class SessionUpdatesEventArgs
  23. /// </summary>
  24. public class SessionUpdatesEventArgs : EventArgs
  25. {
  26. public SessionInfoDto[] Sessions { get; set; }
  27. }
  28. }