Skip to content
| Marketplace
Sign in
Visual Studio>Tools>MethodsWrapper
MethodsWrapper

MethodsWrapper

Mohammed.Omar

|
1,057 installs
| (2) | Free
This tool allows you to Wrap methods body with specified code in an automated way, you can choose to insert code at the Begining/Ending of all methods in the actives files, Select Project or the entire solution.
Download

Methods Wrapper

By Mohammed Omar

  Features & Benefits

 

 

This tool allows you to Wrap methods body with specified code in an automated way, you can choose to insert code at the begining/Buttom of all methods in the actives files, Select Project or the entire solution.

 

I fine that helpful when you want to log the Entering and Leaving of Methods, or when you want to wrap all methods in the current file, project or solution in a try catch snippet or whatever.

Other Options:

  • Ability to filtering Methods starting/ending with specific letters.
  • Ability to disable Wrapping Static Methods
  • Ability to filter Methods based on Scope.

Note: Methods with return type should be revised to check the return statement is not behind the wraps etc. i have added TODO for all Wrapped Methods that is not void.

Please rate it if you like and leave me a comment letting me know your opinion....

 

 

 

 

MomarSE@hotmail.com

http://mohammedumar.wordpress.com

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft