43 references to GetPath
Microsoft.AspNetCore.JsonPatch (36)
JsonPatchDocumentOfT.cs (36)
69GetPath(path, null), 93GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 113GetPath(path, "-"), 130Operations.Add(new Operation<TModel>("remove", GetPath(path, null), from: null)); 148GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 166GetPath(path, "-"), 185GetPath(path, null), 207GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 227GetPath(path, "-"), 247GetPath(path, null), 269GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 289GetPath(path, "-"), 312GetPath(path, null), 313GetPath(from, null))); 336GetPath(path, null), 337GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 360GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 361GetPath(from, null))); 386GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 387GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 410GetPath(path, "-"), 411GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 432GetPath(path, "-"), 433GetPath(from, null))); 454GetPath(path, null), 455GetPath(from, null))); 478GetPath(path, null), 479GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 502GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 503GetPath(from, null))); 528GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 529GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 552GetPath(path, "-"), 553GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 574GetPath(path, "-"), 575GetPath(from, null)));
Microsoft.AspNetCore.JsonPatch.Tests (7)
JsonPatchDocumentGetPathTest.cs (7)
19var path = patchDocument.GetPath(p => p.SimpleObject.IntegerList, "-"); 32var path = patchDocument.GetPath(p => p[3], null); 45var path = patchDocument.GetPath(p => p["key"], "3"); 58var path = patchDocument.GetPath(p => p, null); 71var path = patchDocument.GetPath(p => p, "-"); 84var path = patchDocument.GetPath(p => (BaseClass)p.DerivedObject, null); 99patchDocument.GetPath(p => p.IntegerValue >= 4, null);