Esempio n. 1
0
        /// <summary>
        /// Setups the commands to attach to the view model.
        /// </summary>
        private void SetupCommands()
        {
            NonCommandPropertyChangedValues.Add("NewRelease");

            AddQuestCommand    = new RelayCommand(this, DoAddQuest, CanAddQuest);
            RemoveQuestCommand = new RelayCommand(this, DoRemoveQuest, CanRemoveQuest);

            RunTallyCommand        = new AsyncRelayCommand(this, DoRunTallyAsync, CanRunTally);
            CancelTallyCommand     = new RelayCommand(this, DoCancelTally, CanCancelTally);
            ClearTallyCacheCommand = new RelayCommand(this, DoClearTallyCache, CanClearTallyCache);
        }
Esempio n. 2
0
 /// <summary>
 /// Setups the commands to attach to the view model.
 /// </summary>
 private void SetupWatches()
 {
     NonCommandPropertyChangedValues.Add("NewRelease");
 }