static TypeFactory()
{
ApiCop.RegisterRule(new TooManyDependenciesApiCopRule("TypeFactory.LimitDependencyInjection", "It is recommended not to inject too many types using dependency injection as this might be a code-smell. Is the class too big? Try splitting it up into smaller classes with less dependencies.", ApiCopRuleLevel.Hint));
}