浏览主站 | 站长工具 | 新闻资讯 | 站长学院 | 站长盈利 | HTML教程 | 网址导航 | 站长周刊 | 会员投稿 | 滚动新闻 | RSS
发新话题
打印

推荐一个好工具:Refactor for ASP.NET 2.0

推荐一个好工具:Refactor for ASP.NET 2.0

[[wiki]wiki[/wiki]][/wiki]重构(Refactor),相信已经是大家常用的方法,自从vs2005支持重构后,用起来非常顺手了.然而vss2005的重构功能毕竟还比较少.现向大家推荐一个由 Developer E[wiki]XP[/wiki]ress推出的免费VS add-on的重构工具Refactor! for ASP.NET
[[wiki]URL[/wiki]]http://www.devexpress.com/Products/NET/IDETools/RefactorASP/[/url].
可以到 12-minute video overview先观赏以下视频,
http://www.devexpress.com/Produc ... factor_for_ASP_NET/


目前能够支持asp.net的重构:

Add Validator  
Extract ContentPlaceHolder  
Extract ContentPlaceHolder (and create master page)  
Extract Style (Class)  
Extract Style (id)  
Move to Code-behind  
Move Style Attributes to CSS  
Rename Style  
Surround with Update Panel
  

同时也支持16种常用的重构方法

Extract Method  
Extract Property  
Flatten Conditional  
Inline Temp  
Introduce Constant  
Introduce Local  
Move Declaration near Reference  
Move Initialization to Declaration  
Reorder Parameters  
Rename  
Replace Temp with Q[wiki]UE[/wiki]ry  
Reverse Conditional  
Safe Rename  
Simplify Expression  
Split Initialization from Declaration  
Split Temporary Variable

TOP

发新话题