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