public void EngineUpdateEventHandler(ProcessUpdateEventArgs args) { var assignments = args.Assignments; this.Assignments = assignments; this.Assignments.WriteSchedule(); }
internal void RaiseUpdateEvent(Action<ProcessUpdateEventArgs> updateEventHandler) { if (updateEventHandler != null) { var args = new ProcessUpdateEventArgs() { Assignments = this.Assignments.ToList() }; updateEventHandler.Invoke(args); } }