Beispiel #1
0
 public CommonSteps()
 {
     //app = FeatureContext.Current.Get<IApp>("App");
     app = AppInitializer
           .StartApp(Platform.iOS, "", false);
     homeScreen  = FeatureContext.Current.Get <IHomeScreen> (ScreenNames.Home);
     loginScreen = FeatureContext.Current.Get <ILoginScreen> (ScreenNames.Login);
 }
Beispiel #2
0
        public CommonSteps()
        {
            app = FeatureContext.Current.Get <IApp>("App");

            homeScreen = FeatureContext.Current.Get <IHomeScreen> (ScreenNames.Home);

            sessionsScreen       = FeatureContext.Current.Get <ISessionsScreen> (ScreenNames.Sessions);
            sessionDetailsScreen = FeatureContext.Current.Get <ISessionDetailsScreen> (ScreenNames.SessionDetails);

            speakersScreen       = FeatureContext.Current.Get <ISpeakersScreen> (ScreenNames.Speakers);
            speakerDetailsScreen = FeatureContext.Current.Get <ISpeakerDetailsScreen> (ScreenNames.SpeakerDetails);
        }
Beispiel #3
0
 private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     if(Screen != null)
     {
         Screen.PropertyChanged -= OnScreenPropertyChanged;
     }
     if(e.NewValue != null)
     {
         Screen = (IHomeScreen)e.NewValue;
         Screen.PropertyChanged += OnScreenPropertyChanged;
         Password.Password = Screen.Password;
     }
     SetFocus();
 }
Beispiel #4
0
 public CommonSteps()
 {
     app           = FeatureContext.Current.Get <IApp>("App");
     homeScreen    = FeatureContext.Current.Get <IHomeScreen>(ScreenNames.Home);
     addTaskScreen = FeatureContext.Current.Get <IAddTaskScreen>(ScreenNames.AddTask);
 }
Beispiel #5
0
 public StepsBase()
 {
     app                   = FeatureContext.Current.Get <IApp>("App");
     homeScreen            = FeatureContext.Current.Get <IHomeScreen> (ScreenNames.Home);
     iWeatherResultsScreen = FeatureContext.Current.Get <IWeatherResultsScreen> (ScreenNames.WeatherResults);
 }
 public CommonSteps()
 {
     app = FeatureContext.Current.Get<IApp>("App");
     homeScreen = FeatureContext.Current.Get<IHomeScreen> (ScreenNames.Home);
     addTaskScreen = FeatureContext.Current.Get<IAddTaskScreen> (ScreenNames.AddTask);
 }
 public StepsBase()
 {
     app        = FeatureContext.Current.Get <IApp>("App");
     homeScreen = FeatureContext.Current.Get <IHomeScreen>(ScreenNames.HomeScreen);
 }