dnnsoftware/Dnn.Platform — pull request #126 by bdukes (2014-07-10 22:01:06+00:00)
Title: DNN-5601 Allow specifying null type to GetValue and GetValueOrDefault

The `GetValue` and `GetValueOrDefault` methods in `DotNetNuke.Collection.CollectionExtensions` try to automatically convert a value into a given type. However, if that type is nullable and the value is `null`, then an `InvalidCastException` is thrown. The code should allow returning `null` for a nullable type.