// Enums. // sealed class EI8 <E> : MB <E> { public override E From(IMapDataSource s, object o, int i) { return((E)(object)s.GetSByte(o, i)); }
// Nullable Enums. // sealed class NEI8 <E> : MB <E?> where E : struct { public override E?From(IMapDataSource s, object o, int i) { return /*s.IsNull(o, i) ? (E?)null :*/ ((E)(object)s.GetSByte(o, i)); }
// Scalar Types. // sealed class I8 : MB <SByte> { public override SByte From(IMapDataSource s, object o, int i) { return(s.GetSByte(o, i)); }