<commit_before>Started from frustrations that came out of this StackOverflow post, this is an implementation of the factory pattern that can work with types known at run-time. This does not solve the core problem yet.

# IFactory

- 'implementationFactory' is a factory
- This formalizes it with a `IFactory` concept
- Use a factory to add testable way to hydrate objects with conditional dependencies
<commit_msg>Add compilation badges<commit_after>Started from frustrations that came out of [this StackOverflow post](http://stackoverflow.com/questions/39029344/factory-pattern-with-open-generics), this is an implementation of the factory pattern that can work with types known at run-time.

[![Build status](https://ci.appveyor.com/api/projects/status/26pr0w6y0jw2p3rn/branch/master?svg=true)](https://ci.appveyor.com/project/carusology/invio-extensions-dependencyinjection/branch/master)
[![NuGet](https://img.shields.io/nuget/v/Invio.Extensions.DependencyInjection.svg)](https://www.nuget.org/packages/Invio.Extensions.DependencyInjection/)
[![Travis](https://img.shields.io/travis/invio/Invio.Extensions.DependencyInjection.svg?maxAge=3600&label=travis)](https://travis-ci.org/invio/Invio.Extensions.DependencyInjection)

# Factory

- 'implementationFactory' is a factory
- This formalizes it with a `IFactory` concept
- Use a factory to add testable way to hydrate objects with conditional dependencies

{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.01347517730496454, 'mean_word_length': 5.751196172248804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 1, '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': '2689063', 'n_tokens_mistral': 423, 'n_tokens_neox': 402, 'n_words': 116}