4 instantiations of Customer
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (4)
11 references to Customer
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (11)
JsonPatchExtensionsTest.cs (11)
16var operation = new Operation<Customer>("add", "CustomerId", from: null, value: "TestName");
17var patchDoc = new JsonPatchDocument<Customer>();
34var operation = new Operation<Customer>("add", "CustomerId", from: null, value: "TestName");
35var patchDoc = new JsonPatchDocument<Customer>();
52var patch = new JsonPatchDocument<Customer>();
53patch.Operations.Add(new Operation<Customer>("replace", "/CustomerName", null, "James"));
54var model = new Customer();
77var patch = new JsonPatchDocument<Customer>();
78patch.Operations.Add(new Operation<Customer>(op, path, from, value));
79var model = new Customer();
87Assert.Equal(nameof(Customer), modelState.First().Key);