G
Guest
This is a technically challenging question but it would help me significantly
if anyone can answer it.
In essence I have the following:
A factory class, which can create producer classes which inherit an
interface (standard factory design pattern).
I would like to make this more versatile and do the following:
I would like to be able to specify the producer classes in a config file and
then call them at runtime. This would allow me to create the producer class
in a separate assembly and then use reflection to call the functions.
Does anyone have a Factory class which could do this?
The bit I am finding most difficult is the reflection. So any help on this
would be appreciated.
Mark
if anyone can answer it.
In essence I have the following:
A factory class, which can create producer classes which inherit an
interface (standard factory design pattern).
I would like to make this more versatile and do the following:
I would like to be able to specify the producer classes in a config file and
then call them at runtime. This would allow me to create the producer class
in a separate assembly and then use reflection to call the functions.
Does anyone have a Factory class which could do this?
The bit I am finding most difficult is the reflection. So any help on this
would be appreciated.
Mark