public void AddSource(ITypeSource source) { foreach (var type in source.GetTypes()) { if (type.IsAbstract || type.IsGenericType || !typeof(IConvention).IsAssignableFrom(type)) { continue; } Add(type, MissingConstructor.Ignore); } log.LoadedConventionsFromSource(source); }