9 references to WithTrait
Aspire.Hosting (1)
ResourceTraitBuilderExtensions.cs (1)
46
builder.
WithTrait
(KnownResourceTraits.Tag, tag);
Aspire.Hosting.Tests (6)
ResourceTraitBuilderTests.cs (6)
18
.
WithTrait
("Owner", "Finance").
WithTrait
("Owner", "Platform")
45
.
WithTrait
("Owner", "Finance, Inc.").
WithTrait
("Owner", "Platform")
46
.
WithTrait
("Owner", "Finance, Inc.");
67
Assert.ThrowsAny<ArgumentException>(() => resource.
WithTrait
(KnownResourceTraits.Tag, tag));
TestShop.AppHost (2)
AppHost.cs (2)
138
.
WithTrait
("Owner", "Finance")
139
.
WithTrait
("Owner", "Platform")