18 references to WithIconName
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
102.WithIconName("CloudBidirectional") 572.WithIconName("VirtualNetwork")
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
88.WithIconName("CodeJsRectangle") 302.WithIconName("CodeJsRectangle")
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
83.WithIconName(iconName)
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
346resourceBuilder.WithIconName("CodePyRectangle");
Aspire.Hosting.Tests (10)
WithIconNameTests.cs (10)
16.WithIconName("Database"); 30.WithIconName("CloudArrowUp", IconVariant.Regular); 45Assert.Throws<ArgumentNullException>(() => container.WithIconName(null!)); 55Assert.Throws<ArgumentException>(() => container.WithIconName("")); 56Assert.Throws<ArgumentException>(() => container.WithIconName(" ")); 66.WithIconName("Box"); 69.WithIconName("Settings", IconVariant.Regular); 72.WithIconName("CodeCircle"); 86.WithIconName("Database") 87.WithIconName("CloudArrowUp", IconVariant.Regular);
Stress.AppHost (2)
Program.cs (2)
42.WithIconName("Server"); 147.WithIconName("Document");