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