Example #1
0
 /// <summary>
 ///     Changes the type.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <param name="conversionType">Type of the conversion.</param>
 /// <returns>System.Object.</returns>
 private static object ChangeType(object value, Type conversionType)
 {
     return(value == null ? null : Convert.ChangeType(value, TypeUtil.GetUnNullableType(conversionType)));
 }