43 references to GetPath
Microsoft.AspNetCore.JsonPatch (36)
JsonPatchDocumentOfT.cs (36)
59GetPath(path, null), 83GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 103GetPath(path, "-"), 120Operations.Add(new Operation<TModel>("remove", GetPath(path, null), from: null)); 138GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 156GetPath(path, "-"), 175GetPath(path, null), 197GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 217GetPath(path, "-"), 237GetPath(path, null), 259GetPath(path, position.ToString(CultureInfo.InvariantCulture)), 279GetPath(path, "-"), 302GetPath(path, null), 303GetPath(from, null))); 326GetPath(path, null), 327GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 350GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 351GetPath(from, null))); 376GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 377GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 400GetPath(path, "-"), 401GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 422GetPath(path, "-"), 423GetPath(from, null))); 444GetPath(path, null), 445GetPath(from, null))); 468GetPath(path, null), 469GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 492GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 493GetPath(from, null))); 518GetPath(path, positionTo.ToString(CultureInfo.InvariantCulture)), 519GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 542GetPath(path, "-"), 543GetPath(from, positionFrom.ToString(CultureInfo.InvariantCulture)))); 564GetPath(path, "-"), 565GetPath(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);