Show / Hide Table of Contents

Method RegisterColumnList

| Improve this Doc View Source

RegisterColumnList<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

getter is null.

System.ArgumentException

getter expression is not a valid getter.

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