InputsDialogValidationContext
Class sealed net8.0
Represents the context for validating inputs in an inputs dialog interaction.
namespace Aspire.Hosting;
public sealed class InputsDialogValidationContext{ // ...} 6 members
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesCancellationTokenget; initCancellationToken Gets the cancellation token for the validation operation.
Inputsget; init Gets the inputs that are being validated.
Servicesget; initats ignoredIServiceProvider Gets the service provider for resolving services during validation.
Methods2
Section titled MethodsAddValidationError(InteractionInput, string) Adds a validation error for the specified input.
AddValidationError(string, string)ats export Adds a validation error for the input with the specified name.