11 references to Properties
Aspire.Dashboard (6)
Components\Pages\ComponentTelemetryContext.cs (6)
56Properties[TelemetryPropertyKeys.DashboardComponentId] = new AspireTelemetryProperty(_componentId); 57Properties[TelemetryPropertyKeys.DashboardComponentType] = new AspireTelemetryProperty(_type.ToString()); 60Properties[TelemetryPropertyKeys.UserAgent] = new AspireTelemetryProperty(browserUserAgent); 81if (!Properties.TryGetValue(name, out var existingValue) || !existingValue.Value.Equals(value.Value)) 83Properties[name] = value; 107properties: Properties,
Aspire.Dashboard.Tests (5)
Telemetry\ComponentTelemetryContextTests.cs (5)
37Assert.Equal(3, telemetryContext.Properties.Count); 43Assert.Equal(4, telemetryContext.Properties.Count); 50Assert.Equal(4, telemetryContext.Properties.Count); 54Assert.Equal(4, telemetryContext.Properties.Count); 81Assert.Collection(telemetryContext.Properties.OrderBy(p => p.Key),