9 references to ProfilePropertyName
Aspire.Hosting.Browsers.Tests (9)
BrowserLogsBuilderExtensionsTests.cs (4)
73Assert.DoesNotContain(snapshot.Properties, property => property.Name == BrowserLogsBuilderExtensions.ProfilePropertyName); 230Assert.Contains(snapshot.Properties, property => property.Name == BrowserLogsBuilderExtensions.ProfilePropertyName && Equals(property.Value, "Profile 1")); 713DoesNotHaveProperty(resourceEvent.Snapshot, BrowserLogsBuilderExtensions.ProfilePropertyName)).DefaultTimeout(); 967!resourceEvent.Snapshot.Properties.Any(property => property.Name == BrowserLogsBuilderExtensions.ProfilePropertyName)).DefaultTimeout();
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
305properties.Add(new ResourcePropertySnapshot(ProfilePropertyName, profile));
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (2)
437? properties.SetResourceProperty(BrowserLogsBuilderExtensions.ProfilePropertyName, profile) 438: RemoveProperty(properties, BrowserLogsBuilderExtensions.ProfilePropertyName);
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (2)
494? properties.SetResourceProperty(BrowserLogsBuilderExtensions.ProfilePropertyName, resourceState.LastProfile) 495: RemoveProperty(properties, BrowserLogsBuilderExtensions.ProfilePropertyName);