1 write to Name
Aspire.Hosting (1)
ApplicationModel\TraitAnnotation.cs (1)
34
Name
= name;
4 references to Name
Aspire.Hosting (2)
ApplicationModel\ResourceTraitSnapshotProperties.cs (1)
23
foreach (var group in traits.GroupBy(t => t.
Name
, StringComparer.Ordinal))
ResourceTraitBuilderExtensions.cs (1)
28
foreach (var previous in builder.Resource.Annotations.OfType<TraitAnnotation>().Where(t => t.
Name
== name).ToArray())
Aspire.Hosting.Tests (2)
ResourceTraitBuilderTests.cs (2)
29
resource.Resource.Annotations.OfType<TraitAnnotation>().Select(t => (t.
Name
, t.Value)));
71
resource.Resource.Annotations.OfType<TraitAnnotation>().Select(t => (t.
Name
, t.Value)));