Пример #1
0
        public override bool MatchFilter(string filter)
        {
            string ucfilter = filter.ToUpper();

            if (base.MatchFilter(filter) == true)
            {
                return(true);
            }
            else if (Code.ToUpper().Contains(ucfilter))
            {
                return(true);
            }
            else if (Cuts.ToUpper().Contains(ucfilter))
            {
                return(true);
            }
            else if (Sidebar.ToUpper().Contains(ucfilter))
            {
                return(true);
            }
            else if (Door.ToUpper().Contains(ucfilter))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }