umbraco/Umbraco-CMS — pull request #378 by darrenferguson (2014-05-14 10:35:22+00:00)
Title: Adding extension methods to PartialViewMacroModel to allow: Model.GetParameterValue<DateTime>("datey")

Adding extension methods to PartialViewMacroModel to allow: Model.GetParameterValue("datey")

Model.GetParameterValue("booly", 8) //optional default value if parsing can't happen
Model.GetParameterValue("booly",8) // can be used like this as type is implied by default value argument