예제 #1
0
 // INJECT
 public TaskLifeCycle(
     HashSet<IObserver<ITaskStop>> taskStopHandlers,
     HashSet<IObserver<ITaskStart>> taskStartHandlers,
     TaskStartImpl taskStart,
     TaskStopImpl taskStop)
 {
     _taskStartHandlers = taskStartHandlers;
     _taskStopHandlers = taskStopHandlers;
     _taskStart = taskStart;
     _taskStop = taskStop;
 }
예제 #2
0
 // INJECT
 public TaskLifeCycle(
     HashSet <IObserver <ITaskStop> > taskStopHandlers,
     HashSet <IObserver <ITaskStart> > taskStartHandlers,
     TaskStartImpl taskStart,
     TaskStopImpl taskStop)
 {
     _taskStartHandlers = taskStartHandlers;
     _taskStopHandlers  = taskStopHandlers;
     _taskStart         = taskStart;
     _taskStop          = taskStop;
 }