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

Adding extension methods to PartialViewMacroModel to allow: Model.GetParameterValue<DateTime>("datey")

Model.GetParameterValue<int>("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