I am wondering anyone can give me a hint on how to design this scenario:
In C#, Program A is calling a reference assembly B's method C. However, later this assembly B's code was changed and that method is renamed to something else like D. How could a program work to support both different version of assembly B without build two different version of Program A?
Is reflection the only way out? Any other suggestion? I am not familiar with IoC, but is it possible to solve this problem?
Aucun commentaire:
Enregistrer un commentaire