2 writes to Name
Aspire.Dashboard (1)
Model\ResourceGraph\ResourceGraphMapper.cs (1)
69Name = r.Name,
Aspire.Dashboard.Tests (1)
Model\ResourceGraphMermaidExporterTests.cs (1)
54Name = name,
9 references to Name
Aspire.Dashboard (1)
Model\ResourceGraph\ResourceGraphMermaidExporter.cs (1)
14MermaidGraphExporter.Export(resources, r => r.Name, r => r.DisplayName, r => r.ReferencedNames);
Aspire.Dashboard.Components.Tests (8)
Controls\ApplicationSummaryTests.cs (6)
442Assert.Equal(["z-cache", "api", "worker"], resources.Select(resource => resource.Name)); 477Assert.Equal(showHidden ? ["api", "worker"] : ["api"], nodes.Select(node => node.Name)); 499cut.WaitForAssertion(() => Assert.Equal(["api"], GetGraphResources().Select(resource => resource.Name))); 502cut.WaitForAssertion(() => Assert.Equal(["api", "broken"], GetGraphResources().Select(resource => resource.Name).Order(StringComparer.Ordinal))); 555nodes.Select(resource => resource.Name)); 557nodes.Where(resource => resource.Tags.Any(tag => tag.Name == "Backend")).Select(resource => resource.Name));
Pages\ResourcesTests.cs (2)
599Assert.Equal(resource.Name, serializedResources[0].GetProperty("name").GetString()); 630Assert.Equal(["api-1", "api-2"], mapped.Select(resource => resource.Name));