Пример #1
0
        public virtual ArchivedTagVersion CreateArchivedVersion(TagDiff diff, AgentLoginData author, EntryEditEvent reason)
        {
            var archived = new ArchivedTagVersion(this, diff, author, reason);

            ArchivedVersionsManager.Add(archived);

            return(archived);
        }
Пример #2
0
        public virtual ArchivedTagVersion CreateArchivedVersion(XDocument data, TagDiff diff, AgentLoginData author, EntryEditEvent reason, string notes)
        {
            var archived = new ArchivedTagVersion(this, data, diff, author, reason, notes);

            ArchivedVersionsManager.Add(archived);
            Version++;

            return(archived);
        }