Versions des environnements
Network:
Windows 2003 Server
Thanks Rick,
I thought about that approach, but rejected it w/o thinking it through.
My original thought was that I would be maintaining almost identical code in 2 methods, but the correct approach would be to factor out common code to a new method that the original and overloaded methods would call. Thanks for helping me think that through.
Bruce
>Yes everytime the signature of a method changes you defintitely need to recompile. You might be able to get away with polymorphism though by creating an overloaded method that has the new parameter signature without recompiling.
>
>+++ Rick ---
>
>>I have an assembly that defines a bunch of shared subs and functions that are called by a bunch of other assemblies. If I change the signature of a sub (added an optional parameter to the end of the parameter list) in the Common assembly do I need to re-compile all assemblies that might call the Common Assembly? From the errors I generated today, that appears to be the case. Just would like to know why?
>>
>>Thanks
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement