コード例 #1
0
ファイル: App.cs プロジェクト: karlaniki/DbPublish
		public App(string dbPath, ISQLitePlatform sqlitePlatform)
		{
			//set database path first, then retrieve main page
			PersonRepo = new PersonRepository(sqlitePlatform, dbPath);

			this.MainPage = new MainPage();
		}
コード例 #2
0
ファイル: App.cs プロジェクト: flolovebit/xamarin-evolve-2014
        public static Page GetMainPage(ISQLitePlatform sqlitePlatform, string dbPath)
        {
            //set database path first, then retrieve main page
            PersonRepo = new PersonRepository(sqlitePlatform, dbPath);

            return new MainPage();
        }
コード例 #3
0
ファイル: App.cs プロジェクト: IsYet1/Xam160
        public App(string dbPath)
        {
            PersonRepo = new PersonRepository(dbPath);

            this.MainPage = new MainPage();
        }
コード例 #4
0
 public App()
 {
     InitializeComponent();
     PersonRepo = new PersonRepository(dbPath);
     MainPage   = new People.MainPage();
 }