예제 #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);
 }