/// <summary> /// Saves the exported items as a csv file, encrypts it as zip file /// </summary> /// <param name="lstItems"></param> /// <param name="password"></param> /// <returns></returns> private bool ArchiveVault(List <ExportItem> lstItems) { bool retVal = false; string outputName = string.Format("Bitwarden_ExportBackup_{0:yyyy-MM-dd_HH-mm-ss}.zip", DateTime.Now); IOutputMethod exporter = OutputMethodSelector.GetOutputMethod(outputName); if (exporter != null) { retVal = exporter.Archive(lstItems); } return(retVal); }
internal Engine(IPerformanceDatabase db, IInputMethod inputMethod, IOutputMethod outputMethod) { this.InputMethod = inputMethod; this.OutputMethod = outputMethod; this.DataBase = db; }
public ViberObserver(IOutputMethod outputMethod, Scraper scraper) { _outputMethod = outputMethod; }