3 writes to _contents
Microsoft.Extensions.AI.Abstractions (3)
ChatCompletion\ChatResponseUpdate.cs (3)
61
_contents
= contents;
85
get =>
_contents
??= [];
86
set =>
_contents
= value;
5 references to _contents
Microsoft.Extensions.AI.Abstractions (5)
ChatCompletion\ChatResponseUpdate.cs (5)
79
public string Text =>
_contents
is not null ?
_contents
.ConcatText() : string.Empty;
162
private AIContent? ContentForDebuggerDisplay =>
_contents
is { Count: > 0 } ?
_contents
[0] : null;
166
private string EllipsesForDebuggerDisplay =>
_contents
is { Count: > 1 } ? ", ..." : string.Empty;