public LiveStreamAdminEntryCompareAttributeCondition(JToken node) : base(node)
 {
     if (node["attribute"] != null)
     {
         this._Attribute = (LiveStreamAdminEntryCompareAttribute)StringEnum.Parse(typeof(LiveStreamAdminEntryCompareAttribute), node["attribute"].Value <string>());
     }
 }
Exemplo n.º 2
0
 public LiveStreamAdminEntryCompareAttributeCondition(XmlElement node) : base(node)
 {
     foreach (XmlElement propertyNode in node.ChildNodes)
     {
         switch (propertyNode.Name)
         {
         case "attribute":
             this._Attribute = (LiveStreamAdminEntryCompareAttribute)StringEnum.Parse(typeof(LiveStreamAdminEntryCompareAttribute), propertyNode.InnerText);
             continue;
         }
     }
 }