Normally, extension method can be created for non-static class:
public static string Resource(this HtmlHelper htmlHelper)
{
//TO DO
}
But if HtmlHelper is a static class, I cannot do it anymore. so how can i do?
Normally, extension method can be created for non-static class:
public static string Resource(this HtmlHelper htmlHelper)
{
//TO DO
}
But if HtmlHelper is a static class, I cannot do it anymore. so how can i do?