Ejemplo n.º 1
0
        private bool GroupSearchFilter(object obj)
        {
            VM_AnimeGroup_User grpvm = obj as VM_AnimeGroup_User;

            if (grpvm == null)
            {
                return(true);
            }

            return(GroupSearchFilterHelper.EvaluateGroupTextSearch(grpvm, txtGroupSearch.Text));
        }
        private bool GroupSearchFilter(object obj)
        {
            AnimeGroupVM grpvm = obj as AnimeGroupVM;

            if (grpvm == null)
            {
                return(true);
            }

            return(GroupSearchFilterHelper.EvaluateGroupTextSearch(grpvm, txtGroupSearch.Text.Replace("'", "`")));
        }
Ejemplo n.º 3
0
        private bool GroupSeriesSearchFilter(object obj)
        {
            AnimeGroupVM grpvm = obj as AnimeGroupVM;

            if (grpvm != null)
            {
                return(GroupSearchFilterHelper.EvaluateGroupTextSearch(grpvm, txtGroupSearch.Text));
            }

            AnimeSeriesVM ser = obj as AnimeSeriesVM;

            if (ser != null)
            {
                return(GroupSearchFilterHelper.EvaluateSeriesTextSearch(ser, txtGroupSearch.Text));
            }

            return(false);
        }
        private bool GroupSeriesSearchFilter(object obj)
        {
            VM_AnimeGroup_User grpvm = obj as VM_AnimeGroup_User;

            if (grpvm != null)
            {
                return(GroupSearchFilterHelper.EvaluateGroupTextSearch(grpvm, txtGroupSearch.Text));
            }

            VM_AnimeSeries_User ser = obj as VM_AnimeSeries_User;

            if (ser != null)
            {
                return(GroupSearchFilterHelper.EvaluateSeriesTextSearch(ser, txtGroupSearch.Text));
            }

            return(false);
        }