Reworks how AutoGeneratorFactory deals with generic collection types, adding a ReflectionHelper method for discovering the actual underlying generic collection interface type.
Updates ReadOnlyDictionaryGenerator and SetGenerator to create instances of the GenerateType rather than of fixed collection types.
Adds explicit support for generating IList and related types, along with related methods in ReflectionHelper.
Adds unit testing of all this functionality, specifically exercising derived types.
Adds .NET 4.5.2 as a target, because the .NET 4.0 target excludes ReadOnlyDictionary support, but the .NET45 test project, which targets .NET 4.5.2, can see ReadOnlyDictionary. In general, it would be my expectation that most consumers are using .NET 4.5.2 or newer, and thus would benefit from being able to work with ReadOnlyDictionary.
This PR:
.NET45
test project, which targets .NET 4.5.2, can see ReadOnlyDictionary. In general, it would be my expectation that most consumers are using .NET 4.5.2 or newer, and thus would benefit from being able to work with ReadOnlyDictionary.