14 references to GetString
Aspire.Dashboard (8)
Otlp\Model\OtlpHelpers.cs (5)
37serviceInstanceId = attribute.Value.GetString(); 41serviceName = attribute.Value.GetString(); 45processExecutableName = attribute.Value.GetString(); 220var value = TruncateString(attribute.Value.GetString(), context.Options.MaxAttributeLength); 297var value = TruncateString(attribute.Value.GetString(), context.Options.MaxAttributeLength);
Otlp\Model\OtlpLogEntry.cs (3)
38originalFormat = attribute.Value.GetString(); 41parentId = attribute.Value.GetString(); 56? OtlpHelpers.TruncateString(body.GetString(), context.Options.MaxAttributeLength)
Aspire.Dashboard.Tests (6)
TelemetryRepositoryTests\OtlpHelpersTests.cs (6)
25var s = OtlpHelpers.GetString(anyValue); 41var s = OtlpHelpers.GetString(anyValue); 54var s = OtlpHelpers.GetString(anyValue); 67var s = anyValue.GetString(); 90var s = OtlpHelpers.GetString(anyValue); 153var s = OtlpHelpers.GetString(anyValue);