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