Esempio n. 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     //testa s = new testa();
     //s.aaad = new List<rsfc>();
     //s.aaad.Add(new rsfc() { ti = DateTime.Now });
     //s.aaad.Add(new rsfc() { ti = DateTime.Now });
     //s.aaad.Add(new rsfc() { ti = DateTime.Now });
     //s.aaad.Add(new rsfc() { ti = DateTime.Now });
     //s.aaad.Add(new rsfc() { ti = DateTime.Now });
     //NormalIO.XmlSerialize<testa>(@"F:\SourceCode\Application\Exgis\SSMTool\CSFv0.2\asdf.xml", Encoding.UTF8, s);
     string aa = ProteinHandler.GetExtendConfig <testa>().a1;
 }
Esempio n. 2
0
 /// <summary>
 /// 保存扩展配置
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="Obj"></param>
 public static void SaveExtendConfig <T>(T Obj)
 {
     ProteinHandler.SetExtendConfig <T>(Obj);
 }
Esempio n. 3
0
 /// <summary>
 /// 获取扩展配置
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 public static T GetExtendConfig <T>()
 {
     return(ProteinHandler.GetExtendConfig <T>());
 }