Skip to content
Docs Try Aspire

InputsDialogValidationContext Methods

Class Methods 1 member
Represents the context for validating inputs in an inputs dialog interaction.
AddValidationError(InteractionInput, string) Section titled AddValidationError(InteractionInput, string)
Adds a validation error for the specified input.
public sealed class InputsDialogValidationContext
{
public void AddValidationError(
InteractionInput input,
string errorMessage)
{
// ...
}
}
input InteractionInput The input to add a validation error for.
errorMessage string The error message to add.