# InputLoadOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/IInteractionService.cs)

Represents configuration options for dynamically loading input data.

## Definition

```csharp
namespace Aspire.Hosting;

public sealed class InputLoadOptions
{
    // ...
}
```

## Remarks

Use this class to specify how and when dynamic input data should be loaded. This type is intended for advanced scenarios where input loading behavior must be customized.

## Constructors

- [InputLoadOptions](/reference/api/csharp/aspire.hosting/inputloadoptions/constructors.md#constructor)

## Properties

- [AlwaysLoadOnStart](/reference/api/csharp/aspire.hosting/inputloadoptions/properties.md#alwaysloadonstart) : `bool` `get; init` -- Gets a value indicating whether [InputLoadOptions.LoadCallback](/reference/api/csharp/aspire.hosting/inputloadoptions/properties.md#loadcallback) should always be executed at the start of the input prompt.
- [DependsOnInputs](/reference/api/csharp/aspire.hosting/inputloadoptions/properties.md#dependsoninputs) : `IReadOnlyList<string>` `get; init` -- Gets the list of input names that this input depends on. [InputLoadOptions.LoadCallback](/reference/api/csharp/aspire.hosting/inputloadoptions/properties.md#loadcallback) is executed whenever any of the specified inputs change.
- [LoadCallback](/reference/api/csharp/aspire.hosting/inputloadoptions/properties.md#loadcallback) : `Func<LoadInputContext, Task>` `get; init` -- Gets the callback function that is invoked to perform a load operation using the specified input context.
