16 writes to StringProperty
Microsoft.AspNetCore.JsonPatch.Tests (16)
IntegrationTests\DynamicObjectIntegrationTest.cs (1)
153
StringProperty
= "A"
IntegrationTests\ListIntegrationTest.cs (2)
85
StringProperty
= "String1"
89
StringProperty
= "String2"
IntegrationTests\NestedObjectIntegrationTest.cs (8)
106
StringProperty
= "A"
144
StringProperty
= "A"
166
StringProperty
= "A",
189
StringProperty
= null,
212
StringProperty
= "A",
217
StringProperty
= "C",
306
StringProperty
= "A",
311
StringProperty
= "C",
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
35
StringProperty
= "A",
55
StringProperty
= null,
JsonPatchDocumentTest.cs (3)
54
StringProperty
= "A",
77
StringProperty
= "A",
104
StringProperty
= "A",
15 references to StringProperty
Microsoft.AspNetCore.JsonPatch.Tests (15)
IntegrationTests\ListIntegrationTest.cs (2)
95
patchDocument.Add(o => o.SimpleObjectList[0].
StringProperty
, "ChangedString1");
101
Assert.Equal("ChangedString1", targetObject.SimpleObjectList[0].
StringProperty
);
IntegrationTests\NestedObjectIntegrationTest.cs (11)
111
patchDocument.Add(o => o.SimpleObject.
StringProperty
, "B");
117
Assert.Equal("B", targetObject.SimpleObject.
StringProperty
);
149
patchDocument.Remove(o => o.SimpleObject.
StringProperty
);
155
Assert.Null(targetObject.SimpleObject.
StringProperty
);
172
patchDocument.Copy(o => o.SimpleObject.
StringProperty
, o => o.SimpleObject.AnotherStringProperty);
195
patchDocument.Copy(o => o.SimpleObject.
StringProperty
, o => o.SimpleObject.AnotherStringProperty);
229
Assert.Equal("C", targetObject.SimpleObject.
StringProperty
);
231
Assert.Equal("C", targetObject.InheritedObject.
StringProperty
);
233
Assert.NotSame(targetObject.SimpleObject.
StringProperty
, targetObject.InheritedObject.
StringProperty
);
327
Assert.Equal("C", targetObject.SimpleObject.
StringProperty
);
JsonPatchDocumentTest.cs (2)
82
patchDocTyped.Copy(o => o.
StringProperty
, o => o.AnotherStringProperty);
112
patchDocument.Replace(o => o.
StringProperty
, "B");