public void SetEnumProperty(int id, object value, Type valueType) { if (id == ID_MDATESOURCE) { ModificationDateSource = (MDateSource)value; } }
public void Deserialize(XElement input, AXMLSerializationSettings opt) { if (input.Name.LocalName != "config") { throw new Exception("LocalName != 'config'"); } Email = XHelper.GetChildValue(input, "Email", Email); Password = Decrypt(XHelper.GetChildValue(input, "Password", string.Empty), opt); Server = XHelper.GetChildValue(input, "Server", Server); RemEmptyTags = XHelper.GetChildValue(input, "RemEmptyTags", RemEmptyTags); CreateHierarchyTags = XHelper.GetChildValue(input, "CreateHierarchyTags", CreateHierarchyTags); ModificationDateSource = XHelper.GetChildValue(input, "ModificationDateSource", ModificationDateSource); }