Show / Hide Table of Contents

Class ColumnList<T>

Represents a list of columns.

Inheritance
System.Object
AddonBag
ModelMember
ColumnList
ColumnList<T>
Implements
System.Collections.Generic.IReadOnlyList<Column>
System.Collections.Generic.IReadOnlyCollection<Column>
System.Collections.Generic.IEnumerable<Column>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
ColumnList.Name
ModelMember.GetParent()
ModelMember.DesignMode
ModelMember.VerifyDesignMode()
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 sealed class ColumnList<T> : ColumnList, IDesignable, IReadOnlyList<Column>, IReadOnlyCollection<Column>, IEnumerable<Column>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : Column
Type Parameters
Name Description
T

The type of the columns.

Remarks

This class is used for model which contains variable number of columns.

Properties

Name Description
Count
Item[Int32]

Methods

Name Description
Add(Func<T>, Action<T>)

Adds a new column into this column list.

Add<TColumn>(TColumn, Boolean, Action<TColumn>)

Add a new column into this column list, from existing column.

Add<TColumn>(Mounter<TColumn>, Boolean, Action<TColumn>)

Add a new column into this column list, from existing column property.

Add<TColumn>(Action<TColumn>)

Add a new column into this column list.

GetEnumerator()

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Extension Methods

AddonBagExtensions.GetAddons<T>(AddonBag)
AddonBagExtensions.GetAddon<T>(AddonBag)
AddonBagExtensions.GetAddon(AddonBag, Object)
AddonBagExtensions.Add(AddonBag, IAddon)
AddonBagExtensions.AddOrUpdate(AddonBag, IAddon)
AddonBagExtensions.ContainsAddon(AddonBag, Object)
AddonBagExtensions.RemoveAddon(AddonBag, Object)
ColumnExtensions.WithDefaultValue<TColumn, TValue>(TColumn, TValue, String, String)
ColumnExtensions.WithValueComparer<TColumn, TValue>(TColumn, IComparer<TValue>)

See Also

RegisterColumnList<TModel, T>(System.Linq.Expressions.Expression<System.Func<TModel, ColumnList<T>>>)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest