7 references to AddValue
aspire (7)
src\Shared\ConsoleLogs\PromptContext.cs (1)
15/// When <c>false</c>, <see cref="AddValue{T}"/> returns the input unchanged.
src\Shared\ConsoleLogs\SharedAIHelpers.cs (6)
226attributesObj[attr.Key!] = context.AddValue(attrValue, id => $@"Duplicate of attribute ""{id.Key}"" for span {OtlpHelpers.ToShortenedId(id.SpanId)}", (SpanId: spanId, attr.Key)); 261["name"] = context.AddValue(span.Name, sId => $@"Duplicate of ""name"" for span {OtlpHelpers.ToShortenedId(sId)}", spanId), 263["statusMessage"] = context.AddValue(span.Status?.Message, sId => $@"Duplicate of ""statusMessage"" for span {OtlpHelpers.ToShortenedId(sId)}", spanId), 726attributesObject[attr.Key!] = context.AddValue(attrValue, id => $@"Duplicate of attribute ""{id.Key}"" for log entry {id.LogId}", (LogId: logId, attr.Key)); 735["message"] = context.AddValue(message, id => $@"Duplicate of ""message"" for log entry {id}", logId), 739["exception"] = context.AddValue(exceptionText, id => $@"Duplicate of ""exception"" for log entry {id}", logId),