示例#1
0
        public App(string databaseLocation)
        {
            InitializeComponent();

            MainPage         = new StartUpShell();
            DatabaseLocation = databaseLocation;
        }
示例#2
0
        public App()
        {
            InitializeComponent();

            if (UseMockDataStore)
            {
                DependencyService.Register <MockDataStore>();
            }
            else
            {
                DependencyService.Register <AzureDataStore>();
            }

            MainPage = new StartUpShell();
        }