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