示例#1
0
 public void FinishTask(ITaskId taskId, string message)
 {
     lock (SyncRoot)
     {
         this.Instance.FinishTask(taskId, message);
     }
 }
示例#2
0
 public bool Equals(ITaskId other)
 {
     return Equals(other as object);
 }
示例#3
0
 public TaskMessage(ITaskId from, ITaskId to, MessageType message)
 {
     FromTaskId = from;
     ToTaskId   = to;
     Message    = message;
 }