TraitAnnotation
Classsealednet10.0
Immutable, non-sensitive metadata attached to a resource. Multiple annotations with the same name represent multiple values.
namespace Aspire.Hosting.ApplicationModel;
public sealed class TraitAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors1
Section titled Constructors Creates a resource trait.