API Reference
Class
DataTablesProjectionBuilder`1
Fluent builder used to declare ordered summary projections for a type.
Inheritance
- Object
- DataTablesProjectionBuilder`1
Type Parameters
- T
Constructors
public DataTablesProjectionBuilder<T>() #Methods
public DataTablesProjectionBuilder<T> Add(String name, Func<T, Object> getter) #Returns:
DataTablesProjectionBuilder<T>Adds a named accessor to the projection (in order). The name is used as the summary key.
Parameters
- name System.String
- Display name for the property (e.g., "Name", "Owner").
- getter System.Func{`0,System.Object}
- Accessor that returns the value to summarize.
Returns
This builder for chaining.