Beispiel #1
0
        public void MoveItem(RepositoryItemBase repositoryItem, string targetFolder)
        {
            RepositoryFolderBase RF = GetItemRepositoryFolder(repositoryItem);


            SolutionRepositoryItemInfoBase SRII     = GetSolutionRepositoryItemInfo(repositoryItem.GetType());
            RepositoryFolderBase           rootRF   = SRII.GetItemRepositoryFolder(repositoryItem);
            RepositoryFolderBase           targetRF = rootRF.GetSubFolderByName(targetFolder);



            RF.MoveItem(repositoryItem, targetRF);
        }
Beispiel #2
0
        /// <summary>
        /// Get the Repository Folder of the Repository Item
        /// </summary>
        /// <param name="repositoryItem"></param>
        public RepositoryFolderBase GetItemRepositoryFolder(RepositoryItemBase repositoryItem)
        {
            SolutionRepositoryItemInfoBase SRII = GetSolutionRepositoryItemInfo(repositoryItem.GetType());

            return(SRII.GetItemRepositoryFolder(repositoryItem));
        }