Beispiel #1
0
 public ESearchCuePointItem(JToken node) : base(node)
 {
     if (node["fieldName"] != null)
     {
         this._FieldName = (ESearchCuePointFieldName)StringEnum.Parse(typeof(ESearchCuePointFieldName), node["fieldName"].Value <string>());
     }
 }
 public ESearchCuePointItem(XmlElement node) : base(node)
 {
     foreach (XmlElement propertyNode in node.ChildNodes)
     {
         switch (propertyNode.Name)
         {
         case "fieldName":
             this._FieldName = (ESearchCuePointFieldName)StringEnum.Parse(typeof(ESearchCuePointFieldName), propertyNode.InnerText);
             continue;
         }
     }
 }