25 references to WithTags
Aspire.Hosting (1)
ResourceTraitBuilderExtensions.cs (1)
61return builder.WithTags(tags.AsSpan());
Aspire.Hosting.Tests (8)
ResourceTraitBuilderTests.cs (8)
17.WithTags("Backend", "API") 44.WithTags("Backend", "API") 66Assert.ThrowsAny<ArgumentException>(() => resource.WithTags(tag)); 74var resource = builder.AddContainer("api", "image").WithTags("Backend").WithDisplayOrder(10).WithDisplayOrder(-20); 92Assert.Same(resource, resource.WithTags("Backend")); 93Assert.Same(resource, resource.WithTags("API", "Service")); 94Assert.Same(resource, resource.WithTags(tags)); 95Assert.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")