public BaseEntryCloneOptionComponent(JToken node) : base(node)
 {
     if (node["itemType"] != null)
     {
         this._ItemType = (BaseEntryCloneOptions)StringEnum.Parse(typeof(BaseEntryCloneOptions), node["itemType"].Value <string>());
     }
     if (node["rule"] != null)
     {
         this._Rule = (CloneComponentSelectorType)StringEnum.Parse(typeof(CloneComponentSelectorType), node["rule"].Value <string>());
     }
 }
        public BaseEntryCloneOptionComponent(XmlElement node) : base(node)
        {
            foreach (XmlElement propertyNode in node.ChildNodes)
            {
                switch (propertyNode.Name)
                {
                case "itemType":
                    this._ItemType = (BaseEntryCloneOptions)StringEnum.Parse(typeof(BaseEntryCloneOptions), propertyNode.InnerText);
                    continue;

                case "rule":
                    this._Rule = (CloneComponentSelectorType)StringEnum.Parse(typeof(CloneComponentSelectorType), propertyNode.InnerText);
                    continue;
                }
            }
        }