Exemplo n.º 1
0
    private void onSettingsChanged(SettingsChangedMessage message) {
      settings = message.Settings;

      setupWatchers();
    }
Exemplo n.º 2
0
    private async void onSettingsChanged(SettingsChangedMessage message) {
      if (settings.PathToGame != oldPathToGame) {
        viewModel.Files.ForEach(f => f.PropertyChanged -= onFileEntityViewModelChanged);

        messenger.Send(new FileLoadingMessage());

        await loadAllFiles();
      }

      oldPathToGame = settings.PathToGame;
    }
Exemplo n.º 3
0
 private void onSettingsChanged(SettingsChangedMessage message) {
   settings = message.Settings;
 }