2 writes to Operations
Microsoft.AspNetCore.JsonPatch (2)
11 references to Operations
Microsoft.AspNetCore.JsonPatch (11)
JsonPatchDocument.cs (11)
54Operations.Add(new Operation("add", PathHelpers.ValidateAndNormalizePath(path), null, value));
68Operations.Add(new Operation("remove", PathHelpers.ValidateAndNormalizePath(path), null, null));
83Operations.Add(new Operation("replace", PathHelpers.ValidateAndNormalizePath(path), null, value));
98Operations.Add(new Operation("test", PathHelpers.ValidateAndNormalizePath(path), null, value));
114Operations.Add(new Operation("move", PathHelpers.ValidateAndNormalizePath(path), PathHelpers.ValidateAndNormalizePath(from)));
130Operations.Add(new Operation("copy", PathHelpers.ValidateAndNormalizePath(path), PathHelpers.ValidateAndNormalizePath(from)));
166foreach (var op in Operations)
194foreach (var op in Operations)
202var allOps = new List<Operation>(Operations?.Count ?? 0);
204if (Operations != null)
206foreach (var op in Operations)