Refactoring: extract and override factory method(weblogs.asp.net)
submitted by
gpeipman(3145) 3 years, 2 months ago
I’m sure you have seen classes that initialize a lot of objects in their constructor. These classes may be hard to test because of those object creations I mentioned. To get around this problem we use Extract and override factory method refactoring so we can extend these classes and override some factory methods.
|category: C#
|Views: 31
tags:
C# another
Everyones tags:
Your Tags: