Skip to content
DocsTry Aspire
DocsTry

InputsDialogValidationContext

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

Properties

propertycancellationTokencancellationTokenget
Gets the cancellation token for the validation operation.
propertyinputsInteractionInputCollectionget
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
inputNamestring
errorMessagestring