Razor helper syntax #522

Closed
andrewdavey opened this Issue Feb 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Razor should support the following syntax:

<!DOCTYPE html>
<html>
    <head>
        <title>Resource</title>
    </head>
    <body>
        @TestHelper()
    </body>
</html>

@helper TestHelper() {
    <p>test</p>
}

Described more here: http://weblogs.asp.net/scottgu/archive/2011/05/12/asp-net-mvc-3-and-the-helper-syntax-within-razor.aspx

Owner

thecodejunkie commented Jun 11, 2012

This was added in the 0.11 release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment