コード例 #1
0
        protected override BasicNoteImpl CreateClone()
        {
            var n = new SimpleNote(_id, _config, _hConfig);

            using (n.SuppressDirtyChanges())
            {
                n._tags.Synchronize(_tags.ToList());
                n._content          = _content;
                n._deleted          = _deleted;
                n._shareURL         = _shareURL;
                n._publicURL        = _publicURL;
                n._systemTags       = _systemTags.ToList();
                n._creationDate     = _creationDate;
                n._modificationDate = _modificationDate;
                n._localVersion     = _localVersion;

                return(n);
            }
        }