InputGeneratorAnnotation Constructor

Definition

Annotation for customizing the input generation for a parameter.

public InputGeneratorAnnotation(Func<Aspire.Hosting.ApplicationModel.ParameterResource,Aspire.Hosting.InteractionInput> inputGenerator);
new Aspire.Hosting.ApplicationModel.InputGeneratorAnnotation : Func<Aspire.Hosting.ApplicationModel.ParameterResource, Aspire.Hosting.InteractionInput> -> Aspire.Hosting.ApplicationModel.InputGeneratorAnnotation
Public Sub New (inputGenerator As Func(Of ParameterResource, InteractionInput))

Parameters

inputGenerator
Func<ParameterResource,InteractionInput>

The function that generates the input for the parameter.

Applies to