InputGeneratorAnnotation Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.