Skip to content

Commit

Permalink
handled switch statement exhaustively.
Browse files Browse the repository at this point in the history
  • Loading branch information
nerocui committed Dec 14, 2023
1 parent ed668a2 commit 0b934fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/MarkdownTextBlock/src/TextElements/MyList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public void AddChild(IAddChild child)
BulletType.UpperAlpha => $"{_index.ToAlphabetical().ToUpper()}. ",
BulletType.LowerRoman => $"{_index.ToRomanNumerals().ToLower()} ",
BulletType.UpperRoman => $"{_index.ToRomanNumerals().ToUpper()} ",
BulletType.Circle => _dot
BulletType.Circle => _dot,
_ => _dot
};
_index++;
}
Expand Down

0 comments on commit 0b934fa

Please sign in to comment.