public IMatchResult Match(SwipeActionToScreen swipeActionToScreen) { var mosaicItem = GetItemByScreenIdShort(swipeActionToScreen.ToScreenIdShort.ToLower()); return(Match(swipeActionToScreen.ScreenId, mosaicItem.Screen.Id.ToString(), swipeActionToScreen.Direction)); }
public IMatchResult Match(SwipeActionToScreen swipeActionToScreen) { IMatchResult matchResult = null; matchResult = _mosaicStore.Match(swipeActionToScreen); if (matchResult.IsMatch) { _mosaicStore.ClearAppsEmpty(); } return(matchResult); }