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; }
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); }
private void SubTaskStartupInformationUpdated(string information, object UserObject) { _RunningSubTaskDetails Details = (_RunningSubTaskDetails)UserObject; Details.ParentResult.BuildProgressInformation.UpdateStartupInformation(_getStatusInformation(information, Details)); }