Interface IRowAsyncValidators
Represents collection of row async validator(s), which is specially optimized for single item collection and immutability.
Inherited Members
Namespace: DevZest.Data.Presenters
Assembly: DevZest.Data.WPF.dll
Syntax
public interface IRowAsyncValidators : IReadOnlyList<RowAsyncValidator>, IReadOnlyCollection<RowAsyncValidator>, IEnumerable<RowAsyncValidator>, IEnumerable
Remarks
RowAsyncValidator class implements IRowAsyncValidators, so a RowAsyncValidator instance can represent both the validator itself and a single item collection of validators. This can improve performance by avoiding object creation.
IRowAsyncValidators can be sealed as immutable, any change to IRowAsyncValidators may or may not create a new IRowAsyncValidators instance. Consumer of IRowAsyncValidators should always assume it's immutable.
Static class RowAsyncValidators is provided to manipulate IRowAsyncValidators.
Properties
Name | Description |
---|---|
IsSealed | Gets a value indicates whether this collection is sealed. |
Item[IColumns] | Gets row async validator by source columns. |
Methods
Name | Description |
---|---|
Add(RowAsyncValidator) | Adds the specified validator into this collection. |
Seal() | Seals this collection as immutable. |