Inheritance: MonoBehaviour
コード例 #1
0
        protected sealed override void InitialiseStartNavigation()
        {
            var startApplicationObject = new AppStart(false);

            Mvx.RegisterSingleton <IMvxAppStart>(startApplicationObject);
        }
コード例 #2
0
 protected AppStartTest()
 {
     AppStart = new AppStart(LoginManager, NavigationService, AccessRestrictionStorage);
     DataSource.SyncManager.Returns(SyncManager);
     LoginManager.GetDataSourceIfLoggedIn().Returns(DataSource);
 }
コード例 #3
0
 private void Awake()
 {
     _appStart = this;
 }
コード例 #4
0
ファイル: AppStartTests.cs プロジェクト: FinHorsley/mobileapp
            public async Task CallsNavigateToMainTabBarViewModelIfTheUserHasLoggedInPreviously()
            {
                AppStart.Start();

                await NavigationService.Received().Navigate <MainTabBarViewModel>();
            }
コード例 #5
0
ファイル: AppStartTests.cs プロジェクト: nchAlex/mobileapp
 protected AppStartTest()
 {
     AppStart = new AppStart(LoginManager, NavigationService);
 }
コード例 #6
0
 static void Main(string[] args)
 {
     _ = new AppStart(args);
 }