Method RegisterColumnList
| Improve this Doc View SourceRegisterColumnList<TModel, T>(Expression<Func<TModel, ColumnList<T>>>)
Registers a column list.
Declaration
protected static void RegisterColumnList<TModel, T>(Expression<Func<TModel, ColumnList<T>>> getter)
where TModel : Model where T : Column
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<TModel, ColumnList<T>>> | getter | The lambda expression of the column list getter. |
Type Parameters
Name | Description |
---|---|
TModel | The type of model which the column is registered on. |
T | The type of the column contained by the column list. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|