Esempio n. 1
0
        public static void Init(InitOptions options)
        {
            var resPath = options.Context?.DirectoryInfo?.Resource;

            if (!string.IsNullOrEmpty(resPath))
            {
                ThemeLoader.Initialize(resPath);
            }

            Init(options.GoogleMapsAPIKey);
        }
Esempio n. 2
0
        public static void Init(CoreApplication context)
        {
            var resPath = context?.DirectoryInfo?.Resource;

            if (!string.IsNullOrEmpty(resPath))
            {
                ThemeLoader.Initialize(resPath);
            }

            Init();
        }