Esempio n. 1
0
 internal void RemoveTask(int TaskId)
 {
     DataExchanger.Clear(TaskId);
     TaskOfClientInfoes.Remove(TaskId);
     OperationContext.CurrentTaskServerTasks.Remove(TaskId);
     ValidationRuleInfoManager.RemoveTask(TaskId);
 }
Esempio n. 2
0
 internal void AddTask(int TaskId, string clientId)
 {
     DataExchanger.Clear(TaskId);
     TaskOfClientInfoes.TryAdd(TaskId, clientId);
     OperationContext.CurrentTaskServerTasks.TryAdd(TaskId, this);
 }