GeneralCommand.cs 603 B

123456789101112131415161718192021222324252627
  1. #pragma warning disable CS1591
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text.Json.Serialization;
  5. namespace MediaBrowser.Model.Session;
  6. public class GeneralCommand
  7. {
  8. public GeneralCommand()
  9. : this(new Dictionary<string, string>())
  10. {
  11. }
  12. [JsonConstructor]
  13. public GeneralCommand(Dictionary<string, string>? arguments)
  14. {
  15. Arguments = arguments ?? new Dictionary<string, string>();
  16. }
  17. public GeneralCommandType Name { get; set; }
  18. public Guid ControllingUserId { get; set; }
  19. public Dictionary<string, string> Arguments { get; }
  20. }