Example #1
0
 /// <summary>
 /// 设置任务
 /// </summary>
 /// <param name="m">任务模型</param>
 public bool Set(TaskConfig m)
 {
     m.Change();
     return(ConfigDt.AddOrUpdate(m.Info.Name, m, (key, value) => m) != null);
 }