Templated Razor Delegates – Phil Haack
- by nmarun
This post is largely based off of Phil Haack’s article titled Templated Razor Delegates. I strongly recommend reading this article first. Here’s a sample code for the same, so you can have a look at. I also have a custom type being rendered as a table. 1: // my custom type
2: public class Device
3: {
4: …