3 writes to from
Microsoft.AspNetCore.JsonPatch.SystemTextJson (3)
JsonPatchDocument.cs (1)
213
untypedOp.
from
= op.from;
JsonPatchDocumentOfT.cs (1)
650
from
= op.from
Operations\OperationBase.cs (1)
60
this.
from
= from;
8 references to from
Microsoft.AspNetCore.JsonPatch.SystemTextJson (7)
Adapters\ObjectAdapter.cs (4)
107
if (TryGetValue(operation.
from
, objectToApplyTo, operation, out var propertyValue))
110
Remove(operation.
from
, objectToApplyTo, operation);
183
if (TryGetValue(operation.
from
, objectToApplyTo, operation, out var propertyValue))
193
var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation, Resources.FormatCannotCopyProperty(operation.
from
));
JsonPatchDocument.cs (1)
213
untypedOp.from = op.
from
;
JsonPatchDocumentOfT.cs (1)
650
from = op.
from
Operations\OperationBase.cs (1)
46
[JsonPropertyName(nameof(
from
))]
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (1)
JsonPatchDocumentJsonPropertyAttributeTest.cs (1)
53
var fromPath = patchDocument.Operations.First().
from
;