Пример #1
0
 public override bool Matches(string keyword)
 {
     return(base.Matches(keyword) ||
            CylinderCount.ToString() == keyword ||
            EngineSize.ToString() == keyword);
 }
Пример #2
0
 public override bool TextSearch(string keyword)
 {
     return(base.TextSearch(keyword) ||
            CylinderCount.ToString() == keyword ||
            EngineSize.ToString() == keyword);
 }