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