bool isContinueLoadingAfterPROJECT(IEnumerable <BluePrints.Data.PROJECT> entities) { if (entities.Count() == 0) { mainThreadDispatcher.BeginInvoke(new Action(() => MessageBoxService.ShowMessage(string.Format(CommonResources.Notify_View_Removed, "PROJECT")))); return(false); } this.loadPROJECT = entities.First(); return(true); }
protected override void InitializeParameters(object parameter) { OptionalEntitiesParameter <BluePrints.Data.PROJECT, PROGRESS> receiveParameter = (OptionalEntitiesParameter <BluePrints.Data.PROJECT, PROGRESS>)parameter; this.loadPROJECT = receiveParameter.GetFirstEntity(); this.loadPROGRESS = receiveParameter.GetSecondEntity(); if (this.loadPROJECT != null) { isQueryForLiveStatus = true; } }
protected override void InitializeParameters(object parameter) { EntitiesParameter <BluePrints.Data.PROJECT> PROJECTParameter = (EntitiesParameter <BluePrints.Data.PROJECT>)parameter; this.loadPROJECT = PROJECTParameter.GetEntity(); }