Пример #1
0
        private string _getStatusInformation(string runningSubTaskStartupInfo, _RunningSubTaskDetails Details)
        {
            string Value = !string.IsNullOrEmpty(Description)
                            ? Description
                            : string.Format("Running sequential tasks ({0} task(s))", Tasks.Length);

            if (Details != null)
                Value += string.Format(": [{0}] {1}",
                                        Details.Index,
                                        !string.IsNullOrEmpty(runningSubTaskStartupInfo)
                                         ? runningSubTaskStartupInfo
                                         : "No information");

            return Value;
        }
Пример #2
0
        private string _getStatusInformation(string runningSubTaskStartupInfo, _RunningSubTaskDetails Details)
        {
            string Value = !string.IsNullOrEmpty(Description)
                            ? Description
                            : string.Format("Running sequential tasks ({0} task(s))", Tasks.Length);

            if (Details != null)
            {
                Value += string.Format(": [{0}] {1}",
                                       Details.Index,
                                       !string.IsNullOrEmpty(runningSubTaskStartupInfo)
                                         ? runningSubTaskStartupInfo
                                         : "No information");
            }

            return(Value);
        }
Пример #3
0
        private void SubTaskStartupInformationUpdated(string information, object UserObject)
        {
            _RunningSubTaskDetails Details = (_RunningSubTaskDetails)UserObject;

            Details.ParentResult.BuildProgressInformation.UpdateStartupInformation(_getStatusInformation(information, Details));
        }