public override object Read(IReadContext context) { var ticks = context.ReadLong(); var dateTime = new DateTime(ticks); return(ReadKind(context, dateTime)); }
public object Read(IReadContext context) { var classId = context.ReadInt(); var enumValue = context.ReadLong(); return(ToEnum(context, classId, enumValue)); }
public object Read(IReadContext context) { int classId = context.ReadInt(); long enumValue = context.ReadLong(); return ToEnum(context, classId, enumValue); }
public override object Read(IReadContext context) { var value = context.ReadLong(); if (value == long.MaxValue) { return PrimitiveNull(); } return new DateTime(value); }
public override object Read(IReadContext context) { long value = context.ReadLong(); if (value == long.MaxValue) { return(PrimitiveNull()); } return(new DateTime(value)); }
public override object Read(IReadContext context) { long ticks = context.ReadLong(); DateTime dateTime = new DateTime(ticks); return ReadKind(context, dateTime); }
public override object Read(IReadContext context) { return context.ReadLong(); }
public override object Read(IReadContext context) { return(context.ReadLong()); }