Created
February 3, 2011 02:54
-
-
Save copenhas/808959 to your computer and use it in GitHub Desktop.
simple example of trying to keep htmlhelper extensions clean and simple
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class HtmlHelperExtensions | |
| { | |
| public static PhoneHtmlBuilder<TModel> Phone(this HtmlHelper<TModel> helper) | |
| { | |
| return new PhoneHtmlBuilder<TModel>(helper); | |
| } | |
| //... a bunch of other things | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment