Share via


ReferenceEnvironmentInjectionAnnotation Class

Definition

Annotation that specifies which connection and endpoint information should be injected into environment variables when a resource is referenced using WithReference().

public sealed class ReferenceEnvironmentInjectionAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ReferenceEnvironmentInjectionAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class ReferenceEnvironmentInjectionAnnotation
Implements IResourceAnnotation
Inheritance
ReferenceEnvironmentInjectionAnnotation
Implements

Constructors

ReferenceEnvironmentInjectionAnnotation(ReferenceEnvironmentInjectionFlags)

Initializes a new instance of ReferenceEnvironmentInjectionAnnotation.

Properties

Flags

Gets the flags specifying which connection information should be injected.

Applies to