mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 17:27: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
@@ -66,7 +66,7 @@ public sealed class HighlightedCodeBlock : ComponentBase
|
||||
builder.AddContent(2, this.Code[position..token.Start]);
|
||||
|
||||
builder.OpenElement(3, "span");
|
||||
builder.AddAttribute(4, "class", token.Kind.ToCssClass());
|
||||
builder.AddAttribute(4, "class", token.Kind.CssClass);
|
||||
builder.AddContent(5, this.Code.Substring(token.Start, token.Length));
|
||||
builder.CloseElement();
|
||||
position = token.Start + token.Length;
|
||||
|
||||
Reference in new issue
Block a user