Home > Mobile >  Find All Extension Methods for HTMLHelper, URLHelper and AJAXHelper Types
Find All Extension Methods for HTMLHelper, URLHelper and AJAXHelper Types

Time:09-18

Looking to find a way with Object Browser (in Visual Studio, or another tool) to find all of the extension methods defined for HTMLHelper, URLHelper and AJAXHelper. Any ideas?

CodePudding user response:

Intellisense populates available extension methods on instances, and static methods from the Helper class itself.

HtmlHelper Intellisense Instance Intellisense

CodePudding user response:

Ok, I figured this out...

First, open object browser and go to the command "Edit Custom Conponent Set..."

enter image description here

Then add the MVC dll component...

enter image description here

Be sure the Browse drop down has "Custom Component Set" selected and "Show Extension Members" is selected...

enter image description here

Then perform the search on HtmlHelper and it will appear with the extension methods that are defined for the HtmlHelper data type

enter image description here

enter image description here

  • Related