Пример #1
0
        public bool Load(string configPath, string typesPath)
        {
            m_configPath = configPath;

            bool result = true;

            result &= LoadConfig();
            result &= m_typeCollection.Load(typesPath);

            SyncDevices();

            if (!result)
            {
                App.Current.MainPage.DisplayAlert("conct.controller", "Failed to load configuration!", "Close");
            }

            return(result);
        }