Skip to content
Docs Try Aspire
Docs Try

InputsDialogValidationContext

Handle
📦 Aspire.Hosting v13.4.0
interface InputsDialogValidationContext {
readonly cancellationToken: cancellationToken;
readonly inputs: InteractionInputCollection;
addValidationError(
inputName: string,
errorMessage: string): void;
}

Properties

property cancellationToken cancellationToken get
Gets the cancellation token for the validation operation.
property inputs InteractionInputCollection get
Gets the inputs that are being validated.

Methods

Adds a validation error for the input with the specified name.
addValidationError(
inputName: string,
errorMessage: string): void
inputName string
errorMessage string