protected virtual void InitRules() { _Rules = new IRule[3]; _PosBinRule = new PosBinRule(_POS); _Rules[0] = new MergeNumRule(_POS); _Rules[1] = _PosBinRule; _MatchNameRule = new MatchName(_POS); _Rules[2] = _MatchNameRule; }
public MatchName(CPOS pos) { _PosBinRule = new PosBinRule(pos); _Pos = pos; _ChsNameTraffic = new CChsNameTraffic(); _FamilyNameTbl = new Hashtable(); foreach (String familyName in FAMILY_NAMES) { _FamilyNameTbl[familyName] = true; } }