Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ParameterResource.TryGetCurrentValue

Method
📦 Aspire.Hosting v17.0.0
type ParameterResource interface {
// ... omitted for brevity
TryGetCurrentValue() (*string, error)
}

Signature

methodTryGetCurrentValue
Gets the current value for this parameter without waiting for unresolved input.
TryGetCurrentValue() (*string, error)
(*string, error)

The current parameter value, or null if the parameter does not currently have a non-empty value.

Returns (*string, error).

Defined on

This method is defined on the following type: