コード例 #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
            });
        }
コード例 #2
0
 protected override void Copy(CopyOperation operation)
 {
     var token = operation.FromPath.Find(_target);
     token = token.DeepClone();
     Add(new AddOperation { Path = operation.Path, Value = token });
 }