/// <summary> /// Implement Command that Load the templates list /// </summary> void ExecuteReloadTemplatesCommand(object parameter) { switch (SelectedTab) { case 0: SelectedCategory = null; _SelectedCategory = null; _SelectedTemplateFile = null; SelectedTemplateFile = null; TemplateFiles = SettingsBLL.GetTemplateFileList(); break; case 1: SelectedApplication = null; SelectedSnapshot = null; _SelectedApplication = null; _SelectedSnapshot = null; TemplateFiles = SettingsBLL.GetTemplateFileListPortfolio(); break; default: throw new ArgumentOutOfRangeException(); } }
/// <summary> /// Implement Command that Load the templates list of Portfolio /// </summary> void ExecuteLoadTemplatesPortfolioCommand(object parameter) { TemplateFiles = SettingsBLL.GetTemplateFileListPortfolio(); }