private static DoubleType ConvertFrom(object o) { var type = new DoubleType(); type.SetValue(o); return(type); }
private static T ConvertTo <T>(DoubleType type) { if (type == null) { return(default(T)); } return(type.GetValue <T>()); }
private static DoubleType ConvertFrom(object o) { var type = new DoubleType(); type.SetValue(o); return(type); }
private static T ConvertTo <T>(DoubleType type) { if (type == null) { return(default(T)); } return(type.GetValue <T>()); }