<commit_before>using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Piccolo.Request.ParameterBinders;
using Piccolo.Routing;

namespace Piccolo.Configuration
{
	public class HttpHandlerConfiguration
	{
		public IRequestHandlerFactory RequestHandlerFactory { get; set; }
		public ReadOnlyCollection<Type> RequestHandlers { get; set; }
		public Dictionary<Type, IParameterBinder> RouteParameterBinders { get; set; }
		public IRequestRouter Router { get; set; }
		public Func<object, string> JsonSerialiser { get; set; }
		public Func<Type, string, object> JsonDeserialiser { get; set; }
	}
}<commit_msg>Tightened-up configuration API.<commit_after>using System;
using System.Collections.Generic;
using Piccolo.Request.ParameterBinders;
using Piccolo.Routing;

namespace Piccolo.Configuration
{
	public class HttpHandlerConfiguration
	{
		public IRequestHandlerFactory RequestHandlerFactory { get; set; }
		public IList<Type> RequestHandlers { get; internal set; }
		public Dictionary<Type, IParameterBinder> RouteParameterBinders { get; internal set; }
		public IRequestRouter Router { get; internal set; }
		public Func<object, string> JsonSerialiser { get; set; }
		public Func<Type, string, object> JsonDeserialiser { get; set; }
	}
}
{'fraction_non_alphanumeric': 0.08712715855572999, 'fraction_numerical': 0.0, 'mean_word_length': 6.083333333333333, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1078924', 'n_tokens_mistral': 374, 'n_tokens_neox': 368, 'n_words': 101}