Пример #1
0
 public void SetEnumProperty(int id, object value, Type valueType)
 {
     if (id == ID_MDATESOURCE)
     {
         ModificationDateSource = (MDateSource)value;
     }
 }
Пример #2
0
        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);
        }