1 write to Update
Microsoft.AspNetCore.Components.AI (1)
Pipeline\BlockMappingContext.cs (1)
23
Update
= update;
12 references to Update
Microsoft.AspNetCore.Components.AI (12)
Pipeline\ActivityHandler.cs (1)
24
state.Id = context.
Update
.MessageId ?? Guid.NewGuid().ToString("N");
Pipeline\BlockMappingContext.cs (8)
34
/// Gets the contents of <see cref="
Update
"/> that no handler has claimed yet.
36
public UnhandledContentsEnumerable UnhandledContents => new(
Update
.Contents, _handled);
44
var contents =
Update
.Contents;
71
_handledCount >=
Update
.Contents.Count && (
Update
.Contents.Count > 0 || _updateHandled);
91
Role =
Update
.Role,
92
AuthorName =
Update
.AuthorName,
93
MessageId =
Update
.MessageId,
Pipeline\RichTextContentHandler.cs (2)
30
context.
Update
.MessageId is { Length: > 0 } messageId &&
48
state.Id = context.
Update
.MessageId ?? Guid.NewGuid().ToString("N");
Pipeline\TextBlockHandler.cs (1)
41
state.Id = context.
Update
.MessageId ?? Guid.NewGuid().ToString("N");