53 references to AddContent
Microsoft.AspNetCore.Components (2)
Microsoft.AspNetCore.Components.AI (19)
Components\MessageListContext.cs (17)
63builder.AddContent(6, rich.RawText);
77builder.AddContent(2, block.GetType().Name);
114builder.AddContent(0, text.Text);
138builder.AddContent(2, inlineCode.Code);
149builder.AddContent(4, codeBlock.Code);
201builder.AddContent(2, $"[{definition.Label}]: {definition.Url}");
210builder.AddContent(2, imageReference.Alt ?? imageReference.Label);
219builder.AddContent(2, footnoteReference.Label);
232builder.AddContent(2, html.Value);
287builder.AddContent(0, image.Alt);
314builder.AddContent(2, label);
398builder.AddContent(4, "Approval required");
403builder.AddContent(7, block.ToolName ?? "Unknown tool");
410builder.AddContent(10, JsonSerializer.Serialize(block.Arguments, IndentedJsonOptions));
423builder.AddContent(17, "Approve");
430builder.AddContent(22, "Reject");
445builder.AddContent(25, approved ? "Approved" : "Rejected");
Microsoft.AspNetCore.Components.Authorization (2)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Media (1)
Microsoft.AspNetCore.Components.QuickGrid (6)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Web (7)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (13)
RemoteAuthenticatorViewCore.cs (13)
418builder.AddContent(1, "Checking login state...");
425builder.AddContent(1, "Registration is not supported.");
432builder.AddContent(1, "Editing the profile is not supported.");
439builder.AddContent(1, "Completing login...");
448builder.AddContent(1, "There was an error trying to log you in: '");
449builder.AddContent(2, message);
450builder.AddContent(3, "'");
458builder.AddContent(1, "Processing logout...");
465builder.AddContent(1, "Processing logout callback...");
474builder.AddContent(1, "There was an error trying to log you out: '");
475builder.AddContent(2, message);
476builder.AddContent(3, "'");
484builder.AddContent(1, "You are logged out.");