25 references to Customers
Microsoft.AspNetCore.JsonPatch.Tests (25)
Internal\ObjectVisitorTest.cs (25)
35nestedModel.Customers.Add(new Class1());
36yield return new object[] { nestedModel, "/Customers/0/States/-", nestedModel.Customers[0].States };
37yield return new object[] { nestedModel, "/Customers/0/States/0", nestedModel.Customers[0].States };
38yield return new object[] { nestedModel.Customers, "/0/States/-", nestedModel.Customers[0].States };
39yield return new object[] { nestedModel.Customers[0], "/States/-", nestedModel.Customers[0].States };
69nestedModel.Customers.Add(new Class1());
70yield return new object[] { nestedModel, "/Customers/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
71yield return new object[] { nestedModel.Customers, "/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
72yield return new object[] { nestedModel.Customers[0], "/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
98nestedModel.Customers.Add(new Class1());
99yield return new object[] { nestedModel, "/Customers/0/Items/Name", nestedModel.Customers[0].Items };
100yield return new object[] { nestedModel.Customers, "/0/Items/Name", nestedModel.Customers[0].Items };
101yield return new object[] { nestedModel.Customers[0], "/Items/Name", nestedModel.Customers[0].Items };
131nestedModel.Customers.Add(new Class1());
132yield return new object[] { nestedModel, "/Customers/0/Name", nestedModel.Customers[0] };
133yield return new object[] { nestedModel.Customers, "/0/Name", nestedModel.Customers[0] };
134yield return new object[] { nestedModel.Customers[0], "/Name", nestedModel.Customers[0] };