示例#1
0
        T Convert <T>(T value)
        {
            var resolver = new IntTupleRegistered();

            return(MessagePackSerializer.Deserialize <T>(MessagePackSerializer.Serialize(value, resolver), resolver));
        }
 T Convert<T>(T value)
 {
     var resolver = new IntTupleRegistered();
     return serializer.Deserialize<T>(serializer.Serialize(value, resolver), resolver);
 }