Skip to content

Commit 045100b

Browse files
committed
Move location of WebPath property for consistency
We typically put collection properties after scalar properties.
1 parent 51d5321 commit 045100b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

OnTopic.ViewModels/NavigationTopicViewModel.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public sealed record NavigationTopicViewModel : INavigationTopicViewModel<Naviga
4444
/// </summary>
4545
public string? ShortTitle { get; init; }
4646

47+
/*==========================================================================================================================
48+
| WEB PATH
49+
\-------------------------------------------------------------------------------------------------------------------------*/
50+
/// <inheritdoc cref="WebPath"/>
51+
public string? WebPath { get; init; }
52+
4753
/*==========================================================================================================================
4854
| CHILDREN
4955
\-------------------------------------------------------------------------------------------------------------------------*/
@@ -52,12 +58,6 @@ public sealed record NavigationTopicViewModel : INavigationTopicViewModel<Naviga
5258
/// </summary>
5359
public Collection<NavigationTopicViewModel> Children { get; } = new();
5460

55-
/*==========================================================================================================================
56-
| WEB PATH
57-
\-------------------------------------------------------------------------------------------------------------------------*/
58-
/// <inheritdoc cref="WebPath"/>
59-
public string? WebPath { get; init; }
60-
6161
/*==========================================================================================================================
6262
| IS SELECTED?
6363
\-------------------------------------------------------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)