Class ModelBuilder
- Namespace
- Dynamicweb.CoreUI.Data
- Assembly
- Dynamicweb.CoreUI.dll
public sealed class ModelBuilder
- Inheritance
-
ModelBuilder
- Inherited Members
Constructors
ModelBuilder(JsonSerializerOptions)
public ModelBuilder(JsonSerializerOptions jsonOptions)
Parameters
jsonOptions
JsonSerializerOptions
Methods
MergeModelValues<T>(T, Dictionary<string, JsonElement>)
public T MergeModelValues<T>(T model, Dictionary<string, JsonElement> values)
Parameters
model
Tvalues
Dictionary<string, JsonElement>
Returns
- T
Type Parameters
T
MergeModelValues<T>(T, string)
public T MergeModelValues<T>(T model, string json)
Parameters
model
Tjson
string
Returns
- T
Type Parameters
T