# InputGeneratorAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [InputGeneratorAnnotation](/reference/api/csharp/aspire.hosting/inputgeneratorannotation.md)
- Kind: `Properties`
- Members: `1`

Annotation for customizing the input generation for a parameter.

## InputGenerator

- Name: `InputGenerator`
- Modifiers: `get`
- Returns: `Func<ParameterResource, InteractionInput>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/InputGeneratorAnnotation.cs#L18)

Gets the function that generates the input for the parameter.

```csharp
public Func<ParameterResource, InteractionInput> InputGenerator { get; }
```
