ParameterResource
Classnet10.0
Represents a parameter resource.
namespace Aspire.Hosting.ApplicationModel;
public class ParameterResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider{ // ...}10 members
Constructors1
Section titled Constructors Initializes a new instance of
ParameterResource. Properties7
Section titled PropertiesDefaultget; set Represents how the default value of the parameter should be retrieved.
EnableDescriptionMarkdownget; setbool Gets or sets a value indicating whether the description should be rendered as Markdown.
IsConnectionStringget; setbool Gets or sets a value indicating whether the parameter is a connection string.
string Gets the expression used in the manifest to reference the value of the parameter.
Methods2
Section titled MethodsValueTask<string?> Gets the value of the parameter asynchronously, waiting if necessary for the value to be set.
ValueTask<string?> Gets the value of the parameter asynchronously, waiting if necessary for the value to be set.