B
Brett
I have created an interface with five properties and five methods. Five
classes are accessed through this interface and contain the implementation.
This setup works fine now. All the classes are encapsulated by the
interface.
If one of the classes requires a new method, this means I have to add this
method to the interface and all involved classes. My design breaksdown in
this case and becomes high maintenance. Is there a better approach to this
scenario or some way to overload the interface?
Thanks,
Brett
classes are accessed through this interface and contain the implementation.
This setup works fine now. All the classes are encapsulated by the
interface.
If one of the classes requires a new method, this means I have to add this
method to the interface and all involved classes. My design breaksdown in
this case and becomes high maintenance. Is there a better approach to this
scenario or some way to overload the interface?
Thanks,
Brett