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

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

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

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

            Init();
        }