Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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;
            }
        }
Exemplo n.º 3
0
        protected override void InitializeParameters(object parameter)
        {
            EntitiesParameter <BluePrints.Data.PROJECT> PROJECTParameter = (EntitiesParameter <BluePrints.Data.PROJECT>)parameter;

            this.loadPROJECT = PROJECTParameter.GetEntity();
        }