public IWorkItem GetParameterFromSelectedSuggestion(IWorkItem selectedSuggestion) { BackupProfile backupProfile = Load(selectedSuggestion.GetCaption()); backupProfile.Provider = this; return(backupProfile); }
public void Remove(IWorkItem workItemToRemove) { string filePath = GetFilePath(workItemToRemove.GetCaption()); File.Delete(filePath); SuggestionsCache.DropCache(this.GetType()); EnsoPlus.current.Reinitialize(); }