Esempio n. 1
0
 public UserControl GetUiSettings()
 {
     if (_mapDataParserSettings == null || _mapDataParserSettings.IsDisposed)
     {
         lock (_patternDictionary)
         {
             _mapDataParserSettings = new MapDataParserSettings(ref _patternDictionary);
         }
     }
     return(_mapDataParserSettings);
 }
 public UserControl GetUiSettings()
 {
     if (_mapDataParserSettings == null || _mapDataParserSettings.IsDisposed)
     {
         lock (_patternDictionary)
         {
             _mapDataParserSettings = new MapDataParserSettings(ref _patternDictionary);
         }
     }
     return _mapDataParserSettings;
 }
Esempio n. 3
0
 public void Start(ILogger logger)
 {
     Started = true;
     Load();
     _patternDictionary.ListChanged += _patternDictionary_ListChanged;
     if (_settings.Get <bool>(_names.FirstRun))
     {
         _mapDataParserSettings = new MapDataParserSettings(ref _patternDictionary);
         _mapDataParserSettings.AddDefault();
         Free();
     }
 }
 public void Start(ILogger logger)
 {
     Started = true;
     Load();
     _patternDictionary.ListChanged += _patternDictionary_ListChanged;
     if (_settings.Get<bool>(_names.FirstRun))
     {
         _mapDataParserSettings = new MapDataParserSettings(ref _patternDictionary);
         _mapDataParserSettings.AddDefault();
         Free();
     }
 }