Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
DZone MVB

Links

Social

Refactoring: adapt parameter

Sometimes you are not able to use Extract Interface refactoring because interface of parameter may be too large or there may be no interface at all. You just have class to pass in and you are not able to fake it or extend it to get class testable. In this case you have to use Adapt Parameter refactoring to create adapter that is seen through common some common class of interface.

 

NB! This blog is moved to gunnarpeipman.com

Click here to go to article

Comments

Gunnar Peipman's ASP.NET blog said:

Here you can find links to my postings that introduce source code refactoring methods . If I have done

# March 19, 2009 9:36 PM

DotNetShoutout said:

Thank you for submitting this cool story - Trackback from DotNetShoutout

# March 20, 2009 10:55 AM

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# March 24, 2009 6:53 AM