mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:07:21 +00:00
Turned getter-like extension methods into extension properties (#1157)
This commit is contained in:
1 parent
0375318b1b
commit
f649febf88
286 files changed
+1379
-1109
No files matched your search
@@ -9,8 +9,8 @@ public static class CodeTokenKindExtensions
|
||||
/// The CSS class which MudBlazor.Markdown gives this kind of part, so that it takes its color from
|
||||
/// the palette of the theme, just as the languages the library highlights itself.
|
||||
/// </summary>
|
||||
/// <returns>The CSS class of the part.</returns>
|
||||
public string ToCssClass() => kind switch
|
||||
/// <value>The CSS class of the part.</value>
|
||||
public string CssClass => kind switch
|
||||
{
|
||||
CodeTokenKind.KEYWORD => "hljs-keyword",
|
||||
CodeTokenKind.TYPE => "hljs-type",
|
||||
|
||||
Reference in new issue
Block a user