コード例 #1
0
 public void EngineUpdateEventHandler(ProcessUpdateEventArgs args)
 {
     var assignments = args.Assignments;
     this.Assignments = assignments;
     this.Assignments.WriteSchedule();
 }
コード例 #2
0
 internal void RaiseUpdateEvent(Action<ProcessUpdateEventArgs> updateEventHandler)
 {
     if (updateEventHandler != null)
     {
         var args = new ProcessUpdateEventArgs() { Assignments = this.Assignments.ToList() };
         updateEventHandler.Invoke(args);
     }
 }