Skip to content

Commit f905ae7

Browse files
committed
fix property to not have backing variable
1 parent 9212f7a commit f905ae7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Elastic.Markdown/IO/MarkdownFile.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,10 @@ public string? NavigationTitle
6161
public string FileName { get; }
6262
public string Url => $"{UrlPathPrefix}/{RelativePath.Replace(".md", ".html")}";
6363

64-
public int NavigationIndex
65-
{
66-
get { return _navigationIndex; }
67-
set { _navigationIndex = value; }
68-
}
64+
public int NavigationIndex { get; set; }
6965

7066
private bool _instructionsParsed;
7167
private DocumentationGroup? _parent;
72-
private int _navigationIndex;
7368

7469
public MarkdownFile[] YieldParents()
7570
{

0 commit comments

Comments
 (0)