private void RegisterKeys() { RegisterKeyword("link", reader => { cultureMappingRules.Add(CultureMappingRule.Parse(reader)); }); RegisterRegex(CommonRegexes.Catchall, ParserHelpers.IgnoreAndLogItem); }
public static CultureMappingRule Parse(BufferedReader reader) { mappingToReturn = new CultureMappingRule(); parser.ParseStream(reader); return(mappingToReturn); }