예제 #1
0
파일: App.xaml.cs 프로젝트: uzbekdev1/waf
        protected override void OnStart()
        {
            Log.Default.Info("App started");
            string appSecret = null;

            GetAppCenterSecret(ref appSecret);
            if (appSecret != null)
            {
                AppCenter.Start(appSecret, typeof(Analytics), typeof(Crashes));
            }

            appController.Start();
        }
예제 #2
0
파일: App.xaml.cs 프로젝트: satdast/waf
        protected override void OnStart()
        {
            Log.Default.Info("App started ({0}, {1}) on {2}", appInfoService.AppName, appInfoService.VersionString, DateTime.Now.ToString("yyyy'-'MM'-'dd' 'HH':'mm':'ssK", CultureInfo.InvariantCulture));
            string?appSecret = null;

            GetAppCenterSecret(ref appSecret);
            if (appSecret != null)
            {
                AppCenter.Start(appSecret, typeof(Analytics), typeof(Crashes));
            }

            appController.Start();
        }