Summary
Bind the values to the given configuration
- Assembly
- Rocket
.Surgery .Extensions .Binding .dll - Namespace
- Rocket
.Surgery .Binding - Containing Type
- JsonBinderExtensions
Syntax
public static T Bind<T>(this IJsonBinder binder, IConfiguration configuration, JsonSerializer serializer)
where T : class, new()
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| binder | IJsonBinder | The binder. |
| configuration | IConfiguration | The configuration. |
| serializer | JsonSerializer | The serializer. |
Return Value
| Type | Description |
|---|---|
| T |
