configuration binding

Copying configuration values onto an object's properties by matching names, converting text to each property's type.

In more detail

The options pattern binds a whole configuration section onto an options class in one step. Names match case-insensitively, and a JSON number or the same digits in quotes both bind to an int.

Related terms

Taught in

References