private void OutputProperties(IEnumerable <Property> properties) { if (properties == null) { throw new ArgumentNullException(nameof(properties)); } _logWriter.SetColor(Color.Items); _messageWriter.WriteMessageAligned(_stringService.FormatResourceString("PropertyListHeader"), true); foreach (var property in properties.OrderBy(i => i, DictionaryEntryKeyComparer.Shared)) { _logWriter.SetColor(Color.SummaryInfo); _messageWriter.WriteMessageAligned(string.Format(CultureInfo.CurrentCulture, "{0} = {1}", property.Name, _stringService.UnescapeAll(property.Value)), false); } _logWriter.ResetColor(); }