IRunicPendingValidation interface

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public interface IRunicPendingValidation

An object whose validation can be in progress, such as an asynchronous rule that asks a server whether a name is taken. The Bridge reports its pending member paths in the validation state member (validation.pending, the validation-pending/1 feature), where a page shows "checking…" (field.validating). Implement it on a ViewModel or a DTO of its state, usually by delegating to a RunicPendingValidation.

Properties

PendingMemberPaths

IReadOnlyCollection<string> PendingMemberPaths { get; }

The member paths whose validation is in progress: relative CLR property paths as in RunicValidationMessage.MemberPaths (UserName, Address.Postcode, Items[0].Name), and "" for the object itself.

Events

PendingChanged

event EventHandler? PendingChanged