ProfileCondition.cs 555 B

123456789101112131415161718192021222324
  1. using System.Xml.Serialization;
  2. namespace MediaBrowser.Model.Dlna
  3. {
  4. public class ProfileCondition
  5. {
  6. [XmlAttribute("condition")]
  7. public ProfileConditionType Condition { get; set; }
  8. [XmlAttribute("property")]
  9. public ProfileConditionValue Property { get; set; }
  10. [XmlAttribute("value")]
  11. public string Value { get; set; }
  12. [XmlAttribute("isRequired")]
  13. public bool IsRequired { get; set; }
  14. public ProfileCondition()
  15. {
  16. IsRequired = true;
  17. }
  18. }
  19. }