3 writes to path
Microsoft.AspNetCore.JsonPatch (3)
JsonPatchDocument.cs (1)
212
untypedOp.
path
= op.path;
JsonPatchDocumentOfT.cs (1)
648
path
= op.path,
Operations\OperationBase.cs (1)
59
this.
path
= path;
21 references to path
Microsoft.AspNetCore.JsonPatch (14)
Adapters\ObjectAdapter.cs (11)
63
Add(operation.
path
, operation.value, objectToApplyTo, operation);
111
Add(operation.
path
,
123
Remove(operation.
path
, objectToApplyTo, operation);
159
var parsedPath = new ParsedPath(operation.
path
);
165
var error = CreatePathNotFoundError(objectToApplyTo, operation.
path
, operation, errorMessage);
172
var error = CreateOperationFailedError(objectToApplyTo, operation.
path
, operation, errorMessage);
190
Add(operation.
path
,
197
var error = CreateOperationFailedError(objectToApplyTo, operation.
path
, operation, Resources.FormatCannotCopyProperty(operation.from));
209
var parsedPath = new ParsedPath(operation.
path
);
215
var error = CreatePathNotFoundError(objectToApplyTo, operation.
path
, operation, errorMessage);
222
var error = CreateOperationFailedError(objectToApplyTo, operation.
path
, operation, errorMessage);
JsonPatchDocument.cs (1)
212
untypedOp.path = op.
path
;
JsonPatchDocumentOfT.cs (1)
648
path = op.
path
,
Operations\OperationBase.cs (1)
24
[JsonProperty(nameof(
path
))]
Microsoft.AspNetCore.JsonPatch.Tests (2)
JsonPatchDocumentJsonPropertyAttributeTest.cs (2)
23
var pathToCheck = patchDocument.Operations.First().
path
;
56
var toPath = patchDocument.Operations.First().
path
;
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (5)
NewtonsoftJsonPatchInputFormatterTest.cs (5)
52
Assert.Equal("Customer/Name", patchDocument.Operations[0].
path
);
92
Assert.Equal("Customer/Name", patchDocument.Operations[0].
path
);
122
Assert.Equal("Customer/Name", patchDocument.Operations[0].
path
);
146
Assert.Equal("Customer/Name", patchDocument.Operations[0].
path
);
149
Assert.Equal("Customer/Name", patchDocument.Operations[1].
path
);