public App() { InitializeComponent(); AskForPermissions(); MainPage = _mainPage = new MainListPage(); }
public void BeforeEachTest() { app = AppInitializer.StartApp(platform); // Initialize these pages here as a convenience, to prevent // the need to clutter up test code with the instantiation // of these objects mainListPage = new MainListPage(app, platform); switchPage = new SwitchPage1(app, platform); greenPage = new GreenPage(app, platform); orangePage = new OrangePage(app, platform); }