Skip to content

Commit 2a50bf2

Browse files
committed
Merge pull request #19 from wangzq/feature/SortProperties
Sort properties
2 parents ed3ff97 + 061a4d3 commit 2a50bf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/StructuredLogger/Construction/Construction.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ public void UpdateProject(Project project, ProjectStartedEventArgs args)
452452
AddProperties(properties, args
453453
.Properties
454454
.Cast<DictionaryEntry>()
455+
.OrderBy(d => d.Key)
455456
.Select(d => new KeyValuePair<string, string>(
456457
stringTable.Intern(Convert.ToString(d.Key)),
457458
stringTable.Intern(Convert.ToString(d.Value)))));

0 commit comments

Comments
 (0)