Beispiel #1
0
        public static IgorConfig GetInstance()
        {
            if (Instance == null)
            {
                IgorCore.Initialize();
            }

            if (!File.Exists(DefaultConfigPath))
            {
                InitializeStartingConfig();
            }

            if (Instance == null)
            {
                Instance = Load(DefaultConfigPath);
            }

            return(Instance);
        }