Share via


ConnectionStringReference Class

Definition

Represents a reference to a connection string.

public class ConnectionStringReference : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences
type ConnectionStringReference = class
    interface IManifestExpressionProvider
    interface IValueProvider
    interface IValueWithReferences
Public Class ConnectionStringReference
Implements IManifestExpressionProvider, IValueProvider, IValueWithReferences
Inheritance
ConnectionStringReference
Implements

Constructors

ConnectionStringReference(IResourceWithConnectionString, Boolean)

Represents a reference to a connection string.

Properties

Optional

A flag indicating whether the connection string is optional.

Resource

The resource that the connection string is referencing.

Explicit Interface Implementations

IManifestExpressionProvider.ValueExpression
IValueProvider.GetValueAsync(CancellationToken)
IValueWithReferences.References

Applies to