Class DynamicContractResolver
Provides a factory based way to create and wrap an
Inheritance
System.Object
DynamicContractResolver
Namespace: Cuemon.Serialization.Json
Assembly: Cuemon.Serialization.Json.dll
Syntax
public static class DynamicContractResolver : object
Methods
| Improve this DocCreate<T>(T, Action<JsonProperty>[])
Creates the specified resolver.
Declaration
public static IContractResolver Create<T>(T resolver, params Action<JsonProperty>[] jsonPropertyHandlers)
where T : IContractResolver
Parameters
Type | Name | Description |
---|---|---|
T | resolver | The instance of an |
Action<JsonProperty>[] | jsonPropertyHandlers | The array of delegates that will handle custom rules of a |
Returns
Type | Description |
---|---|
IContractResolver | An |
Type Parameters
Name | Description |
---|---|
T | The type that inherits from |