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