InputsDialogValidationContext
Handle
interface InputsDialogValidationContext { readonly cancellationToken: cancellationToken; readonly inputs: InteractionInputCollection; readonly services: IServiceProvider; addValidationError( inputName: string, errorMessage: string): void;}Properties
property
cancellationToken cancellationToken getGets the cancellation token for the validation operation.
property
inputsInteractionInputCollection getGets the inputs that are being validated.
property
servicesIServiceProvider getGets the service provider for resolving services during validation.
Methods
method
addValidationError Adds a validation error for the input with the specified name.
addValidationError( inputName: string, errorMessage: string): voidParameters
inputName stringerrorMessage string