private void Rebind() { OnPropertyChanged(() => FormattedLogsDirectoryPath); OnPropertyChanged(() => FormattedProxyDirectoryPath); OnPropertyChanged(() => GameFilePath); OnPropertyChanged(() => GameName); OnPropertyChanged(() => GameProfileName); OnPropertyChanged(() => Games); OnPropertyChanged(() => GameProfiles); OnPropertyChanged(() => GameId); OnPropertyChanged(() => GameProfileId); OnPropertyChanged(() => HasGameFilePath); OnPropertyChanged(() => IsStandardMode); OnPropertyChanged(() => LogsDirectoryPath); OnPropertyChanged(() => PluginComponent); OnPropertyChanged(() => PluginType); OnPropertyChanged(() => PluginViewModel); OnPropertyChanged(() => ProxyDirectoryPath); ActionCommand.Rebind(); AddGameProfileCommand.Rebind(); ChangedCommand.Rebind(); ClearGameFilePathCommand.Rebind(); EditGameProfileCommand.Rebind(); MoveToGameFilePathCommand.Rebind(); MoveToConfigurationDirectoryPathCommand.Rebind(); MoveToLogsDirectoryPathCommand.Rebind(); PickGameFilePathCommand.Rebind(); PickPluginSettingsEditViewCommand.Rebind(); RemoveGameProfileCommand.Rebind(); RenameGameProfileCommand.Rebind(); SwitchModeCommand.Rebind(); ValidationTriggeredCommand.Rebind(); }
private void OnValueChanged(ViewModel.ViewModel viewModel, EventArgs eventArgs) { ChangedCommand?.Execute(eventArgs); }