Show / Hide Table of Contents

Interface IRowAsyncValidators

Represents collection of row async validator(s), which is specially optimized for single item collection and immutability.

Inherited Members
System.Collections.Generic.IReadOnlyList<DevZest.Data.Presenters.RowAsyncValidator>.Item[System.Int32]
System.Collections.Generic.IReadOnlyCollection<DevZest.Data.Presenters.RowAsyncValidator>.Count
System.Collections.Generic.IEnumerable<DevZest.Data.Presenters.RowAsyncValidator>.GetEnumerator()
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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest