Beispiel #1
0
        private void UpdateSelection(InfoCoinElement infoCoinElement)
        {
            DeselectActiveElement();

            infoCoinElement.Select();
            _lastSelectedElement = infoCoinElement;
        }
Beispiel #2
0
 private void DeselectActiveElement()
 {
     if (_lastSelectedElement != null)
     {
         _lastSelectedElement.Deselect();
     }
     _lastSelectedElement = null;
 }
Beispiel #3
0
        private bool IsInfoCoinHasName(InfoCoinElement infoCoinElement)
        {
            var hasSponsorData = false;

            foreach (var sponsorModel in _sponsorWithNameList)
            {
                if (sponsorModel.Id.Equals(infoCoinElement.SponsorId))
                {
                    hasSponsorData = true;
                    break;
                }
            }

            return(hasSponsorData);
        }