Catrobat.IDE.Core.ViewModels.Main.OnlinePrograms.ProgramsViewModel.ProgramsViewModel C# (CSharp) Méthode

ProgramsViewModel() public méthode

public ProgramsViewModel ( ) : GalaSoft.MvvmLight.Command
Résultat GalaSoft.MvvmLight.Command
    public ProgramsViewModel()
    {
      InSearchMode = false;
      SearchText = "";
      InternetAvailable = true;

      FeaturedPrograms = new ObservableCollection<SimpleProgramViewModel>();
      Categories = new ObservableCollection<CategoryViewModel>();      
      SearchResults = new ObservableCollection<SimpleProgramViewModel>();

      PropertyChanged += ProgramsViewModelPropertyChanged;

      LoadFeaturedPrograms();
      InitializeCategories();
    }