Exemplo n.º 1
0
        protected override void Copy(CopyOperation operation)
        {
            var token = operation.FromPath.Find(_target);  // Do I need to clone this?

            Add(new AddOperation()
            {
                Path = operation.Path, Value = token
            });
        }
 protected override void Copy(CopyOperation operation)
 {
     var token = operation.FromPath.Find(_target);
     token = token.DeepClone();
     Add(new AddOperation { Path = operation.Path, Value = token });
 }