3 writes to _contents
Microsoft.Extensions.AI.Abstractions (3)
ChatCompletion\ChatResponseUpdate.cs (3)
58_contents = contents; 105get => _contents ??= []; 106set => _contents = value;
5 references to _contents
Microsoft.Extensions.AI.Abstractions (5)
ChatCompletion\ChatResponseUpdate.cs (5)
99public string Text => _contents is not null ? _contents.ConcatText() : string.Empty; 186_contents is { Count: > 0 } ? _contents[0] : 193private string EllipsesForDebuggerDisplay => _contents is { Count: > 1 } ? ", ..." : string.Empty;