BattleCry.Util.XmlConfigManager.LoadConfig C# (CSharp) Method

LoadConfig() public method

public LoadConfig ( string xmlLocation ) : bool
xmlLocation string
return bool
        public bool LoadConfig(string xmlLocation)
        {
            var loaded = true;
            try
            {
                _config = Hearthstone_Deck_Tracker.XmlManager<Config>.Load(xmlLocation);
            }
            catch(System.IO.FileNotFoundException)
            {
                loaded = false;
            }

            return loaded;
        }