public LimitTokenPositionFilterFactory(Map<String,String> args) {super(args);maxTokenPosition = requireInt(args, MAX_TOKEN_POSITION_KEY);consumeAllTokens = getBoolean(args, CONSUME_ALL_TOKENS_KEY, false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public LimitTokenPositionFilterFactory(IDictionary<string, string> args): base(args){maxTokenPosition = RequireInt32(args, MAX_TOKEN_POSITION_KEY);consumeAllTokens = GetBoolean(args, CONSUME_ALL_TOKENS_KEY, false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
