This website requires JavaScript.
Explore
Help
Register
Sign In
yv01p
/
Umbraco-CMS
Watch
1
Star
0
Fork
0
You've already forked Umbraco-CMS
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
75d15cdc3129b2df711d908c0901fb74ed6d10ac
Umbraco-CMS
/
umbraco.MacroEngines.Juno
/
RazorDynamicNode
/
DynamicNode.cs
agrath@gmail.com
75d15cdc31
Made GetProperty break earlier if context/parent is null (prevents NRE) and slightly changed behaviour so that empty strings will go recursively to the parent. Added prefix to property access (_) which will cause the property to be looked up recursively. This syntax is used when you want to get the value recursively, but you want to still apply the IRazorDataTypeModel (as @Model.GetPropertyValue won't do that). Syntax is: @Model._propertyName - had to be a _ as that is legal c#
2011-07-02 17:29:47 -12:00
56 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink