Beispiel #1
0
 public MainWindowViewModel()
 {
     _runRepository = new ArenaRunRepository();
     initializeRunList(_runRepository);
     ViewModel = this;
 }
Beispiel #2
0
 //methods
 private void initializeRunList(ArenaRunRepository repository)
 {
     foreach (ArenaRun run in repository)
     {
         RunList.Add(new ArenaRunViewModel(run));
     }
 }