public ActivityLauncher(
			ActivityService activityService, 
			ViewModel.Factory viewModelFactory)
		{
			this.activityService = activityService;
			this.viewModelFactory = viewModelFactory;
		}
Esempio n. 2
0
        public ActivityViewModel(StageManager navigator, ActivityService activityService)
        {
            Contract.ArgumentNotNull("navigator", navigator);
            Contract.ArgumentNotNull("activityService", activityService);

            this.navigator       = navigator;
            this.activityService = activityService;
        }
 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;
 }
		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;
		}
 public TicTacToeViewModel(StageManager navigator, ActivityService activityService) : base(navigator, activityService)
 {
     State.ValueChanged       += OnGameStateChange;
     GamesPlayed.ValueChanged += UpdateWinningPercentage;
     GamesWon.ValueChanged    += UpdateWinningPercentage;
 }
		public ExampleActivityViewModel(StageManager navigator, ActivityService activityService) : base(navigator, activityService)
		{
		}
Esempio n. 7
0
 public ExampleActivityViewModel(StageManager navigator, ActivityService activityService) : base(navigator, activityService)
 {
 }
		public WebActivityViewModel(SessionState sessionState, StageManager navigator, ActivityService activityService) : base(navigator, activityService)
		{
			Contract.ArgumentNotNull("sessionState", sessionState);

			this.sessionState = sessionState;
		}
Esempio n. 9
0
        public WebActivityViewModel(SessionState sessionState, StageManager navigator, ActivityService activityService) : base(navigator, activityService)
        {
            Contract.ArgumentNotNull("sessionState", sessionState);

            this.sessionState = sessionState;
        }