I have a requirement where I am trying to implement design pattern for a requirement where I need an interface1, interface2, interface3 all extending baseInterface and each interface can also have its specific methods.
Now I want to come up with a pattern so that I dont need to expose my interface1,2 and 3 to client except baseInterface but then how would i call the methods of interface 1,2 and 3.
Please suggest the closest design pattern that could be used.
Aucun commentaire:
Enregistrer un commentaire