I\'m trying to create a class that will accept a factory function in it\'s constructor parameters and use it to crate instances of another class. This
factory
constructor