private static void RegisterAttributes( this Type implementationType, IEnumerable <RegisterDependencyAttribute> attributes, IFrameworkAdapter services ) { foreach (var attribute in attributes) { services.RegisterAttribute(implementationType, attribute); } }