14 references to GetString
Aspire.Dashboard (9)
Otlp\Model\OtlpApplication.cs (1)
47
properties.Add(new KeyValuePair<string, string>(attribute.Key, attribute.Value.
GetString
()));
Otlp\Model\OtlpHelpers.cs (5)
38
serviceInstanceId = attribute.Value.
GetString
();
42
serviceName = attribute.Value.
GetString
();
46
processExecutableName = attribute.Value.
GetString
();
203
var value = TruncateString(attribute.Value.
GetString
(), options.MaxAttributeLength);
242
var value = TruncateString(attribute.Value.
GetString
(), options.MaxAttributeLength);
Otlp\Model\OtlpLogEntry.cs (3)
35
originalFormat = attribute.Value.
GetString
();
38
parentId = attribute.Value.
GetString
();
53
Message = OtlpHelpers.TruncateString(record.Body.
GetString
(), options.MaxAttributeLength);
Aspire.Dashboard.Tests (5)
TelemetryRepositoryTests\OtlpHelpersTests.cs (5)
20
var s = OtlpHelpers.
GetString
(anyValue);
36
var s = OtlpHelpers.
GetString
(anyValue);
49
var s = OtlpHelpers.
GetString
(anyValue);
72
var s = OtlpHelpers.
GetString
(anyValue);
135
var s = OtlpHelpers.
GetString
(anyValue);