public static Preset Deserialize(string s) { if (string.IsNullOrEmpty(s)) { return(null); } return((Preset)MySerializer.Deserialize(s, typeof(Preset))); }
public static PresetsList ToObject(string xml) { return((PresetsList)MySerializer.Deserialize(xml, typeof(PresetsList))); }
public override string ToString() { return(MySerializer.Serialize(this)); }
public string ToXml() { return(MySerializer.Serialize(this)); }