public void OnDialogOpened(IDialogParameters parameters) { Title = "Job Report"; JDP = parameters.GetValue <IJobDirectoryProvider>("JDP"); Jobs = JDP.GetAllJobs(); }
public List <IEvent> GetEventsForEntity(IRTreeMember <IEntity> E) { List <IEvent> E_List = new List <IEvent>(); if (E is not null) { List <IJob> J_List = JDP.GetEntitiesJobs(E); foreach (IJob job in J_List) { E_List.AddRange(GetEventsForJob(job)); } return(E_List); } else { return(null); } }