Class ColumnList<T>
Represents a list of columns.
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
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
See Also
RegisterColumnList<TModel, T>(System.Linq.Expressions.Expression<System.Func<TModel, ColumnList<T>>>)