ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 【neuhawk】推荐一个好工具:Refactor! for ASP.NET 2.0

【neuhawk】推荐一个好工具:Refactor! for ASP.NET 2.0

原创 Linux操作系统 作者:iDotNetSpace 时间:2008-06-03 09:35:18 0 删除 编辑
重构(Refactor),相信已经是大家常用的方法,自从vs2005支持重构后,用起来非常顺手了.然而vss2005的重构功能毕竟还比较少.现向大家推荐一个由 Developer Express推出的免费VS add-on的重构工具Refactor! for ASP.NET.可以到 12-minute video overview先观赏以下视频,
目前能够支持asp.net的重构:
  1. Add Validator
  2. Extract ContentPlaceHolder
  3. Extract ContentPlaceHolder (and create master page)
  4. Extract Style. (Class)
  5. Extract Style. (id)
  6. Move to Code-behind
  7. Move Style. Attributes to CSS
  8. Rename Style.
  9. Surround with Update Panel

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

  1. Extract Method
  2. Extract Property
  3. Flatten Conditional
  4. Inline Temp
  5. Introduce Constant
  6. Introduce Local
  7. Move Declaration near Reference
  8. Move Initialization to Declaration
  9. Reorder Parameters
  10. Rename
  11. Replace Temp with Query
  12. Reverse Conditional
  13. Safe Rename
  14. Simplify Expression
  15. Split Initialization from Declaration
  16. Split Temporary Variable

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12639172/viewspace-330934/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-01-04

  • 博文量
    2376
  • 访问量
    5777922