Esempio n. 1
0
        private void ReadColorSettings()
        {
            var repo = new ColourSettingsRepository();

            if (repo.IsPresent)
            {
                ColourSettings    = repo.Read();
                HasColourSettings = true;
                Log.Info(m => m("Color detection settings found: {0}", ColourSettings));
            }
            else
            {
                Log.Info(m => m("No color detection settings found"));
            }
        }
Esempio n. 2
0
 private void ReadColorSettings()
 {
     var repo = new ColourSettingsRepository();
     if (repo.IsPresent)
     {
         ColourSettings = repo.Read();
         HasColourSettings = true;
         Log.Info(m => m("Color detection settings found: {0}", ColourSettings));
     }
     else
     {
         Log.Info(m => m("No color detection settings found"));
     }
 }