Esempio n. 1
0
        /// <summary>
        /// Executes the action.
        /// </summary>
        public void ExecuteDo()
        {
            if (_pinnedLocations.Contains(_pinnedLocation))
            {
                _existingIndex = _pinnedLocations.IndexOf(_pinnedLocation);
                _pinnedLocations.Remove(_pinnedLocation);
            }

            _pinnedLocations.Insert(0, _pinnedLocation);
        }
Esempio n. 2
0
 /// <summary>
 /// Executes the action.
 /// </summary>
 public void ExecuteDo()
 {
     _existingIndex = _pinnedLocations.IndexOf(_pinnedLocation);
     _pinnedLocations.Remove(_pinnedLocation);
 }