예제 #1
0
        private static UUIDType ConvertFrom(object o)
        {
            var type = new UUIDType();

            type.SetValue(o);
            return(type);
        }
예제 #2
0
        private static T ConvertTo <T>(UUIDType type)
        {
            if (type == null)
            {
                return(default(T));
            }

            return(type.GetValue <T>());
        }