static bool ImplementsIProvideConfiguration(Type type) { return type.GetInterfaces().Any(IsIProvideConfiguration); }