3 writes to NestedObject
Microsoft.AspNetCore.JsonPatch.Tests (3)
IntegrationTests\NestedObjectIntegrationTest.cs (2)
65
NestedObject
= new NestedObject() { StringProperty = "A" }
84
NestedObject
= new NestedObject() { StringProperty = "B" }
TestObjectModels\SimpleObjectWithNestedObject.cs (1)
24
NestedObject
= new NestedObject();
6 references to NestedObject
Microsoft.AspNetCore.JsonPatch.Tests (6)
IntegrationTests\NestedObjectIntegrationTest.cs (6)
47
patchDocument.Replace(o => o.
NestedObject
, newNested);
56
Assert.Equal("B", targetObject.
NestedObject
.StringProperty);
72
patchDocument.ApplyTo(targetObject.
NestedObject
);
75
Assert.Equal("A", targetObject.
NestedObject
.StringProperty);
89
patchDocument.Test(o => o.
NestedObject
, testNested);
95
Assert.Equal("B", targetObject.
NestedObject
.StringProperty);