示例#1
0
 public static OptionMetadata DeSerialiseOptionMetadata(OptionMetadata item, XmlNode metaData)
 {
     item.Value = int.Parse(XmlHelper.SelectSingleNodeValue(metaData, "Value"));
     item.Label = MetadataSerialiser.DeSerialiseLabel(new Label(),XmlHelper.SelectSingleNode(metaData, "Label"));
     return item;
 }
示例#2
0
 public static OptionMetadata DeSerialiseOptionMetadata(OptionMetadata item, XmlNode metaData)
 {
     item.Value = int.Parse(XmlHelper.SelectSingleNodeValue(metaData, "Value"));
     item.Label = MetadataSerialiser.DeSerialiseLabel(new Label(), XmlHelper.SelectSingleNode(metaData, "Label"));
     return(item);
 }