private void BuildSysInfo() { _stringBuilder.AppendLine("[System Info]").AppendLine(); _stringBuilder.Append(SysInfoResultMapper.CreateStringList(_sysInfoResults)); ExceptionReporterExtensions.AppendDottedLine(_stringBuilder); _stringBuilder.AppendLine(); }
private TreeNode CreateSysInfoTree() { var rootNode = new TreeNode("System"); foreach (var sysInfoResult in _presenter.GetSysInfoResults()) { SysInfoResultMapper.AddTreeViewNode(rootNode, sysInfoResult); } return(rootNode); }
private void BuildSysInfo() { try { _stringBuilder.AppendLine("[System Info]").AppendLine(); _stringBuilder.Append(SysInfoResultMapper.CreateStringList(_sysInfoResults)); ExceptionReporterExtensions.AppendDottedLine(_stringBuilder).AppendLine(); } catch { _stringBuilder.AppendLine("Can't get system information"); ExceptionReporterExtensions.AppendDottedLine(_stringBuilder).AppendLine(); } }
private void BuildSysInfo() { _stringBuilder.AppendLine("[System Info]").AppendLine(); _stringBuilder.Append(SysInfoResultMapper.CreateStringList(_sysInfoResults)); _stringBuilder.AppendDottedLine().AppendLine(); }