Beispiel #1
0
        public IMatchResult Match(SwipeActionToScreen swipeActionToScreen)
        {
            var mosaicItem = GetItemByScreenIdShort(swipeActionToScreen.ToScreenIdShort.ToLower());

            return(Match(swipeActionToScreen.ScreenId,
                         mosaicItem.Screen.Id.ToString(),
                         swipeActionToScreen.Direction));
        }
Beispiel #2
0
        public IMatchResult Match(SwipeActionToScreen swipeActionToScreen)
        {
            IMatchResult matchResult = null;

            matchResult = _mosaicStore.Match(swipeActionToScreen);

            if (matchResult.IsMatch)
            {
                _mosaicStore.ClearAppsEmpty();
            }

            return(matchResult);
        }