Closed Jak3b0 closed 10 years ago
I don't know if this could be useful to anyone else but me but I find myself wanting to pass MvcHtmlString to methods of BMVC (eg: HelpText()).
The MvcHtmlStrings comes from the Html helper method to extract model metadata.
This could save me a lot of .ToString() in my code. :)
Yeah, this is a good suggestion. I've already added overloads to a bunch of methods to take IHtmlString, I'll do the same for HelpText in the next release.
IHtmlString
Cool, thanks!
This is in the latest nuget
I don't know if this could be useful to anyone else but me but I find myself wanting to pass MvcHtmlString to methods of BMVC (eg: HelpText()).
The MvcHtmlStrings comes from the Html helper method to extract model metadata.
This could save me a lot of .ToString() in my code. :)