Exemple #1
0
        public IWorkItem GetParameterFromSelectedSuggestion(IWorkItem selectedSuggestion)
        {
            BackupProfile backupProfile = Load(selectedSuggestion.GetCaption());

            backupProfile.Provider = this;
            return(backupProfile);
        }
Exemple #2
0
        public void Remove(IWorkItem workItemToRemove)
        {
            string filePath = GetFilePath(workItemToRemove.GetCaption());

            File.Delete(filePath);
            SuggestionsCache.DropCache(this.GetType());
            EnsoPlus.current.Reinitialize();
        }