InputLoadOptions
Classsealednet10.0
Represents configuration options for dynamically loading input data.
namespace Aspire.Hosting;
public sealed class InputLoadOptions{ // ...}Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesAlwaysLoadOnStart get; initbool Gets a value indicating whether
InputLoadOptions.LoadCallback should always be executed at the start of the input prompt. DependsOnInputs get; initIReadOnlyList<string> Gets the list of input names that this input depends on.
InputLoadOptions.LoadCallback is executed whenever any of the specified inputs change. LoadCallback get; initFunc<LoadInputContext, Task> Gets the callback function that is invoked to perform a load operation using the specified input context.