24 references to WithTags
Aspire.Hosting (1)
ResourceTraitBuilderExtensions.cs (1)
64return builder.WithTags(tags.AsSpan());
Aspire.Hosting.Tests (7)
ResourceTraitBuilderTests.cs (7)
17.WithTags("Backend", "API") 49.WithTags("Backend", "API") 66var resource = builder.AddContainer("api", "image").WithTags("Backend").WithDashboardPosition(10); 81Assert.Same(resource, resource.WithTags("Backend")); 82Assert.Same(resource, resource.WithTags("API", "Service")); 83Assert.Same(resource, resource.WithTags(tags)); 84Assert.Same(resource, resource.WithTags());
TestShop.AppHost (16)
AppHost.cs (16)
14.WithTags("Frontend", "Storefront"); 16.WithTags("Backend", "API"); 18.WithTags("Backend", "Checkout"); 21.WithTags("Frontend", "Storefront"); 24.WithTags("Frontend", "Storefront") 40.WithTags("Frontend", "Storefront") 57.WithTags("Backend", "API") 68.WithTags("Frontend", "Storefront") 78.WithTags("Frontend", "Storefront") 137.WithTags("Backend", "API") 169.WithTags("Backend", "Checkout") 178.WithTags("Frontend", "Storefront") 197.WithTags("Frontend", "Development") 201.WithTags("Backend", "Development") 207.WithTags("Frontend", "Development") 211.WithTags("Backend", "Development")