Beispiel #1
0
        /// <summary>
        /// </summary>
        private void MoveDown()
        {
            var swapThisVM = SelectedRule;
            var withThatVM = DefinedRules[DefinedRules.IndexOf(SelectedRule) + 1];

            swap(swapThisVM, withThatVM);
        }
Beispiel #2
0
 /// <summary>Determines whether the StartMeasurement command can be executed.
 /// </summary>
 private bool CanMoveDown()
 {
     return(mMainStm.IsInState(State.DoSomething) &&
            (mSelectedRule != null) &&
            (DefinedRules.LastOrDefault()?.Key != mSelectedRule.Key));
 }