예제 #1
0
        protected override Guid OnRead(TProtocolReader reader)
        {
            string v  = reader.ReadString();
            Guid   id = Guid.Empty;

            Guid.TryParse(v, out id);
            return(id);
        }
예제 #2
0
        protected override Decimal OnRead(TProtocolReader reader)
        {
            string  v  = reader.ReadString();
            Decimal dc = default(Decimal);

            Decimal.TryParse(v, out dc);
            return(dc);
        }
예제 #3
0
 protected override string OnRead(TProtocolReader reader)
 {
     return(reader.ReadString());
 }