1
Vote

Interception Refactorings

description

Much stuff is shared between ILEmitProxy and RemotingProxy. I would see stuff being extracted into a shared class.
 
  • The Handlers Dictionary.
  • Almost all of the Invoke method implementation
     
    Same with InterfaceInterceptionStrategy and VirtualInterceptionStrategy, I would extract an ILEmitInterceptionStrategy base class
  • BuildUp implementation
  • Even Intercept* has common stuff
     
    BTW, do you mind we propose refactorings?

comments

BradWilson wrote Aug 16, 2007 at 4:08 PM

We were definitely headed in that direction, but we appreciate the nudge! :)

wrote Feb 14, 2013 at 12:58 AM