1 write to ContractResolver
Microsoft.AspNetCore.JsonPatch (1)
Adapters\ObjectAdapter.cs (1)
38
ContractResolver
= contractResolver ?? throw new ArgumentNullException(nameof(contractResolver));
10 references to ContractResolver
Microsoft.AspNetCore.JsonPatch (10)
Adapters\ObjectAdapter.cs (10)
81
var visitor = new ObjectVisitor(parsedPath,
ContractResolver
, AdapterFactory);
91
if (!adapter.TryAdd(target, parsedPath.LastSegment,
ContractResolver
, value, out errorMessage))
136
var visitor = new ObjectVisitor(parsedPath,
ContractResolver
, AdapterFactory);
146
if (!adapter.TryRemove(target, parsedPath.LastSegment,
ContractResolver
, out errorMessage))
160
var visitor = new ObjectVisitor(parsedPath,
ContractResolver
, AdapterFactory);
170
if (!adapter.TryReplace(target, parsedPath.LastSegment,
ContractResolver
, operation.value, out errorMessage))
210
var visitor = new ObjectVisitor(parsedPath,
ContractResolver
, AdapterFactory);
220
if (!adapter.TryTest(target, parsedPath.LastSegment,
ContractResolver
, operation.value, out errorMessage))
241
var visitor = new ObjectVisitor(parsedPath,
ContractResolver
, AdapterFactory);
251
if (!adapter.TryGet(target, parsedPath.LastSegment,
ContractResolver
, out propertyValue, out errorMessage))