Inheritance: withSIX.Play.Applications.ViewModels.Games.Library.MissionLibraryViewModel, IDesignTimeViewModel
コード例 #1
0
 public DesignTimeMissionsViewModel()
     : base(new Lazy<ModsViewModel>(),
         new MissionInfoOverlayViewModel(new Lazy<MissionsViewModel>()), IoC.Get<IViewModelFactory>(),
         IoC.Get<IContentManager>(), IoC.Get<UserSettings>(), null) {
     MissionList.Missions.Add(new Mission(Guid.Empty) {
         Name = "Test mission",
         GameId = new Guid("abc"),
         FileName = "test123"
     });
     LibraryVM = new DesignTimeMissionLibraryViewModel();
 }
コード例 #2
0
 public DesignTimeMissionsViewModel()
     : base(new Lazy <ModsViewModel>(),
            new MissionInfoOverlayViewModel(new Lazy <MissionsViewModel>()), IoC.Get <IViewModelFactory>(),
            IoC.Get <IContentManager>(), IoC.Get <UserSettings>(), null)
 {
     MissionList.Missions.Add(new Mission(Guid.Empty)
     {
         Name     = "Test mission",
         GameId   = new Guid("abc"),
         FileName = "test123"
     });
     LibraryVM = new DesignTimeMissionLibraryViewModel();
 }