Method Register
| Improve this Doc View SourceRegister<T, TColumn>(Expression<Func<T, TColumn>>, Mounter<TColumn>)
Registers a column from existing column mounter.
Declaration
protected static void Register<T, TColumn>(Expression<Func<T, TColumn>> getter, Mounter<TColumn> fromMounter)
where T : Projection where TColumn : Column, new()
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<T, TColumn>> | getter | The lambda expression of the column getter. |
Mounter<TColumn> | fromMounter | The existing column mounter. |
Type Parameters
Name | Description |
---|---|
T | The type of projection which the column is registered on. |
TColumn | The type of the column. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.ArgumentNullException |
|