Show / Hide Table of Contents

Interface IColumns

Represents set of Column(s), which is specially optimized for single item set and immutability.

Inherited Members
System.Collections.Generic.IReadOnlyCollection<DevZest.Data.Column>.Count
System.Collections.Generic.IEnumerable<DevZest.Data.Column>.GetEnumerator()
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public interface IColumns : IReadOnlyCollection<Column>, IEnumerable<Column>, IEnumerable
Remarks

Column class implements IColumns, so a Column instance can represent both the column itself and a single item set of column. This can improve performance by avoiding object creation.

IColumns can be sealed as immutable, any change to IColumns may or may not create a new IColumns instance. Consumer of IColumns should always assume it's immutable.

Static class Columns is provided to manipulate IColumns.

Properties

Name Description
IsSealed

Gets a value indicates whether this set is sealed.

Methods

Name Description
Add(Column)

Adds the specified Column into this set.

Clear()

Removes all the Columns from this set.

Contains(Column)

Determines whether this set contains a specified Column.

Remove(Column)

Removes the specified Column from this set.

Seal()

Seals this set as immutable.

Extension Methods

Columns.Except(IColumns, IColumns)
Columns.Intersect(IColumns, IColumns)
Columns.IsProperSubsetOf(IColumns, IColumns)
Columns.IsProperSupersetOf(IColumns, IColumns)
Columns.IsSubsetOf(IColumns, IColumns)
Columns.IsSupersetOf(IColumns, IColumns)
Columns.Overlaps(IColumns, IColumns)
Columns.SetEquals(IColumns, IColumns)
Columns.SymmetricExcept(IColumns, IColumns)
Columns.Union(IColumns, IColumns)
BindingFactory.BindToValidationPlaceholder(IColumns, RowBinding[])
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest