public DoubleMetaphoneFilterFactory(Map<String,String> args) {super(args);inject = getBoolean(args, INJECT, true);maxCodeLength = getInt(args, MAX_CODE_LENGTH, DEFAULT_MAX_CODE_LENGTH);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public DoubleMetaphoneFilterFactory(IDictionary<string, string> args): base(args){inject = GetBoolean(args, INJECT, true);maxCodeLength = GetInt32(args, MAX_CODE_LENGTH, DEFAULT_MAX_CODE_LENGTH);if (!(args.Count == 0)){throw new ArgumentException("Unknown parameters: " + args);}}