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

MethodExtenstion

Vasu Kotadiya

|
2 installs
| (1) | Free
Just for saving time in personal project
Download

Convert Method to Expression-Bodied Format with CaseId

This Visual Studio 2022 extension helps developers quickly convert C# method signatures into a simplified expression-bodied format with an additional short caseId parameter.

With a simple keyboard shortcut, you can:

  • Instantly transform any method signature at the cursor location or selected text
  • Add short caseId as the first argument
  • Remove the access modifier and return type from the expression body
  • Generate a call to RevieDB[caseId].MethodName(...) using the original arguments

Example

Before:

public DataTable GetUserData(int userId, string applicationName)

After:

public DataTable GetUserData(short caseId, int userId, string applicationName) => RevieDB[caseId].GetUserData(userId, applicationName);
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft