Summary
Allows Newtonsoft.Json to set the underlying backing field for a given readonly autoprop
- Assembly
- Rocket
.Surgery .Extensions .Binding .dll - Namespace
- Rocket
.Surgery .Binding - Base Types
-
- Default
Contract Resolver
- Default
graph BT
Type-->Base0["DefaultContractResolver"]
Type["PrivateSetterContractResolver"]
class Type type-node
Syntax
public class PrivateSetterContractResolver : DefaultContractResolver
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| Private |
Methods
| Name | Value | Summary |
|---|---|---|
| Create |
IValueProvider | |
| CreateProperty |
JsonProperty |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
