Beispiel #1
0
 //============================================================
 // <T>保存配置信息。</T>
 //
 // @param xconfig 配置节点
 //============================================================
 public virtual void OnSaveConfig(FXmlNode xconfig)
 {
     xconfig.Name = _typeName;
     xconfig.SetNvl("class", _className);
     xconfig.SetNvl("option_valid", _optionValid);
     xconfig.SetNvl("name", _name);
     xconfig.SetNvl("label", _label);
     xconfig.SetNvl("hint", _hint);
     xconfig.SetNvl("note", _note);
     // 保存属性集合
     if (!_properties.IsEmpty())
     {
         xconfig.SetNvl("properties", _properties.Pack());
     }
 }