Exemple #1
0
 public bool AddTask(string _taskName, ITaskPlugin _taskPlugin)
 {
     TaskList.AddByTaskplugin(_taskPlugin);
     WriteMessage(string.Format("任务[{0}]加载成功!", _taskName), EventLogEntryType.Information);
     return(true);
 }