ReferenceEnvironmentInjectionAnnotation
Classsealednet10.0
Annotation that specifies which connection and endpoint information should be injected into environment variables when a resource is referenced using
WithReference(). namespace Aspire.Hosting.ApplicationModel;
public sealed class ReferenceEnvironmentInjectionAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors1
Section titled Constructors Initializes a new instance of
ReferenceEnvironmentInjectionAnnotation. Properties1
Section titled PropertiesFlagsget Gets the flags specifying which connection information should be injected.