コード例 #1
0
        public void Add( VaultClientHelper client, VaultHistoryItemBase historyItem )
        {
            VaultClientFile file = client.Root.FindFileRecursive( historyItem.ID );
            if( file == null )
                return;

            string fullPath = file.FullPath;

            Add( fullPath, fullPath, historyItem.Version, file.Version, historyItem.TxDate, historyItem.UserName, historyItem.Comment );
        }
コード例 #2
0
        public void Add(VaultClientHelper client, VaultHistoryItemBase historyItem)
        {
            VaultClientFile file = client.Root.FindFileRecursive(historyItem.ID);

            if (file == null)
            {
                return;
            }

            string fullPath = file.FullPath;

            Add(fullPath, fullPath, historyItem.Version, file.Version, historyItem.TxDate, historyItem.UserName, historyItem.Comment);
        }