示例#1
0
        public App()
        {
            AppCenter.Start("0153dc1d-eda3-4da2-98c9-ce29361d622d",
                            typeof(Analytics), typeof(Crashes));

            GlobalDataHelper <AppConfig> .Init($"{AppDomain.CurrentDomain.BaseDirectory}AppConfig.json");

            LocalizationManager.Instance.LocalizationProvider = new ResxProvider();
            LocalizationManager.Instance.CurrentCulture       = new System.Globalization.CultureInfo(GlobalDataHelper <AppConfig> .Config.Lang);
        }
示例#2
0
        public App()
        {
            GlobalDataHelper <AppConfig> .Init($"{AppDomain.CurrentDomain.BaseDirectory}AppConfig.json");

            LocalizationManager.Instance.LocalizationProvider = new ResxProvider();
            LocalizationManager.Instance.CurrentCulture       = new System.Globalization.CultureInfo(GlobalDataHelper <AppConfig> .Config.UILang);


            //init Appcenter Crash Reporter
            AppCenter.Start("3770b372-60d5-49a1-8340-36a13ae5fb71",
                            typeof(Analytics), typeof(Crashes));
            AppCenter.Start("3770b372-60d5-49a1-8340-36a13ae5fb71",
                            typeof(Analytics), typeof(Crashes));
        }
示例#3
0
 public App()
 {
     GlobalDataHelper <AppConfig> .Init();
 }