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