public NewProjectViewModel() { starterCategory = new TemplateCategoryViewModel { Name = "Starter Projects" }; emptyProjectsCategory = new TemplateCategoryViewModel { Name = "Empty Projects" }; allCategories.Add(starterCategory); allCategories.Add(emptyProjectsCategory); foreach (var category in allCategories) { filteredCategories.Add(category); } SelectedCategory = filteredCategories[0]; RefreshAvailableTemplates(); }
public NewProjectViewModel() { starterCategory = new TemplateCategoryViewModel { Name = "Starter Projects" }; emptyProjectsCategory = new TemplateCategoryViewModel { Name = "Empty Projects" }; allCategories.Add(starterCategory); allCategories.Add(emptyProjectsCategory); foreach(var category in allCategories) { filteredCategories.Add(category); } SelectedCategory = filteredCategories[0]; RefreshAvailableTemplates(); }