Example #1
0
 public void Apply(Mutation mut)
 {
     this.Trigger(mut);
     mut.Delete.Flatten().ForEach(layer => this.Delete(layer.Path));
     mut.Merge.Flatten().ForEach(layer => this.Merge(layer));
 }
Example #2
0
        public void Put(string[] path, JToken value)
        {
            var mut = new Mutation().Mrg(path, value);

            this.Apply(mut);
        }