StubTypeRule.cs 886 B

12345678910111213141516171819202122232425262728293031
  1. namespace Emby.Naming.Video
  2. {
  3. /// <summary>
  4. /// Data class holding information about Stub type rule.
  5. /// </summary>
  6. public class StubTypeRule
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="StubTypeRule"/> class.
  10. /// </summary>
  11. /// <param name="token">Token.</param>
  12. /// <param name="stubType">Stub type.</param>
  13. public StubTypeRule(string token, string stubType)
  14. {
  15. Token = token;
  16. StubType = stubType;
  17. }
  18. /// <summary>
  19. /// Gets or sets the token.
  20. /// </summary>
  21. /// <value>The token.</value>
  22. public string Token { get; set; }
  23. /// <summary>
  24. /// Gets or sets the type of the stub.
  25. /// </summary>
  26. /// <value>The type of the stub.</value>
  27. public string StubType { get; set; }
  28. }
  29. }