public void ReloadVault() { this.VaultManager = ((MainForm)this.Parent.FindForm()).VaultManager; VaultManager.ReloadVaultConfig(); var vaultInfo = VaultManager.GetVaultConfig(); if (vaultInfo != null) { this.lblVaultLocation.Text = VaultManager.VaultFolderPath; this.lblAPIBaseURI.Text = vaultInfo.BaseUri; populateTreeView(vaultInfo); this.UpdateLogView(VaultManager.GetActionLogSummary()); //store setting for current vault path if (Properties.Settings.Default.VaultPath != VaultManager.VaultFolderPath) { Properties.Settings.Default.VaultPath = VaultManager.VaultFolderPath; Properties.Settings.Default.Save(); } } }
public List <string> GetActionSummary() { return(_vaultManager.GetActionLogSummary()); }