예제 #1
0
        public ActivityViewModel(StageManager navigator, ActivityService activityService)
        {
            Contract.ArgumentNotNull("navigator", navigator);
            Contract.ArgumentNotNull("activityService", activityService);

            this.navigator       = navigator;
            this.activityService = activityService;
        }
예제 #2
0
 public SignInViewModel(
     StageManager navigator,
     SessionState sessionState,
     AuthenticationService authenticator,
     SessionService sessionService,
     CourseSettingsService courseSettingsService)
 {
     this.navigator             = navigator;
     this.sessionState          = sessionState;
     this.authenticator         = authenticator;
     this.sessionService        = sessionService;
     this.courseSettingsService = courseSettingsService;
 }
 public MainMenuViewModel(
     StageManager navigator,
     SessionState sessionState,
     AuthenticationService authenticator,
     ActivityService activityService,
     ActivityLauncher activityLauncher)
 {
     this.navigator        = navigator;
     this.sessionState     = sessionState;
     this.authenticator    = authenticator;
     this.activityService  = activityService;
     this.activityLauncher = activityLauncher;
 }
예제 #4
0
 public TicTacToeViewModel(StageManager navigator, ActivityService activityService) : base(navigator, activityService)
 {
     State.ValueChanged       += OnGameStateChange;
     GamesPlayed.ValueChanged += UpdateWinningPercentage;
     GamesWon.ValueChanged    += UpdateWinningPercentage;
 }
예제 #5
0
 public ExampleActivityViewModel(StageManager navigator, ActivityService activityService) : base(navigator, activityService)
 {
 }
 public LoadingViewModel(StageManager navigator)
 {
     this.navigator = navigator;
 }
예제 #7
0
        public WebActivityViewModel(SessionState sessionState, StageManager navigator, ActivityService activityService) : base(navigator, activityService)
        {
            Contract.ArgumentNotNull("sessionState", sessionState);

            this.sessionState = sessionState;
        }
예제 #8
0
 public ProgressIndicatorViewModel(StageManager navigator)
 {
     this.navigator = navigator;
 }