It took a day and a half to finally complete the first available version. There are several differences from previous assumptions:
1. Label format
After referring to everyone's opinion, the label format is changed to:
2, template analysis mode
The previous approach was to parse all the page tags (including HTML and custom tags), and then look for the custom tags to process them. This approach is mainly to take into account the addition of tags, do not need to modify the way the analytic template. It now appears that this is unnecessary and adds to the complexity of the gratuitous. The way to do this is to ignore the HTML tags and parse only the custom tags.
3. Data source Support
You can now support entity classes, DataTable, DataReader as data sources (note: DataReader has not been rigorously tested).
Picture when the demo screenshot, while the source code has also been updated:
Blog: http://homer.cnblogs.com/
This article supporting source code