Пример #1
0
        protected override void OnEndLoad()
        {
            var configJson = BaseDirectory.Combine(ConfigJson);

            if (File.Exists(configJson))
            {
                try
                {
                    var contents = File.ReadAllText(configJson);
                    ExtendedConfiguration = JsonConvert.DeserializeObject <ExtendedProjectConfig>(contents);
                }
                catch
                {
                }
            }

            base.OnEndLoad();
        }
Пример #2
0
        protected override void OnEndLoad()
        {
            var configJson = BaseDirectory.Combine(ConfigJson);
            if (File.Exists(configJson))
            {
                try
                {
                    var contents = File.ReadAllText(configJson);
                    ExtendedConfiguration = JsonConvert.DeserializeObject<ExtendedProjectConfig>(contents);
                }
                catch
                {
                }
            }

            base.OnEndLoad();
        }