Show / Hide Table of Contents

Class Columns

Manipulates set of columns.

Inheritance
System.Object
Columns
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public static class Columns
Remarks

Column class implements IColumns, so a Column instance can represent both the column itself and a singleton set of columns. This can improve performance by avoiding unnecessary 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.

Properties

Name Description
Empty

Gets an empty columns set.

Methods

Name Description
Except(IColumns, IColumns)

Removes specified columns from the current columns.

Intersect(IColumns, IColumns)

Removes the columns to ensure the set contains only columns both exist in the current columns and the specified columns.

IsProperSubsetOf(IColumns, IColumns)

Determines whether the current columns is a proper (strict) subset of the specified columns.

IsProperSupersetOf(IColumns, IColumns)

Determines whether the current columns is a proper (strict) superset of the specified columns.

IsSubsetOf(IColumns, IColumns)

Determines whether the current columns is a subset of a specified columns.

IsSupersetOf(IColumns, IColumns)

Determines whether the current columns is a superset of a specified columns.

New(Column[])

Creates a new set of columns.

Overlaps(IColumns, IColumns)

Determines whether the current columns overlaps with the specified columns.

SetEquals(IColumns, IColumns)

Determines whether the current columns and the specified columns contain the same elements.

SymmetricExcept(IColumns, IColumns)

Ensures set contain only elements that are present either in the current columns or in the specified columns, but not both.

Union(IColumns, IColumns)

Ensures set contain all elements that are present in either the current columns or in the specified columns.

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