Catrobat.Core.ViewModels.Main.OnlinePrograms.CategoryViewModel.CategoryViewModel C# (CSharp) Method

CategoryViewModel() public method

public CategoryViewModel ( Category category, ProgramsViewModel programsViewModel ) : System
category Catrobat.Core.Models.OnlinePrograms.Category
programsViewModel ProgramsViewModel
return System
    public CategoryViewModel(Category category, ProgramsViewModel programsViewModel)
    {
      Category = category;
      _programsViewModel = programsViewModel;
      Programs = new ObservableCollection<ProgramViewModel>();
    }