HtmlForgeX

API Reference

Class

DataTablesProjectionBuilder`1

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Fluent builder used to declare ordered summary projections for a type.

Inheritance

  • Object
  • DataTablesProjectionBuilder`1

Type Parameters

T

Constructors

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 requiredposition: 0
Display name for the property (e.g., "Name", "Owner").
getter System.Func{`0,System.Object} requiredposition: 1
Accessor that returns the value to summarize.

Returns

This builder for chaining.