예제 #1
0
 sealed class C : MB <Char>        { public override void To(IMapDataDestination d, object o, int i, Char v)
                                     {
                                         d.SetChar(o, i, v);
                                     }
예제 #2
0
 public override void Map(IMapDataSource source, object sourceObject, int sourceIndex, IMapDataDestination destination, object destinationObject, int destinationIndex)
 {
     if(source.IsNull(sourceObject, sourceIndex))
     {
         destination.SetChar(destinationObject, destinationIndex, '\0');
     }
     else
     {
         destination.SetChar(destinationObject, destinationIndex, Convert.ToChar(source.GetByte(sourceObject, sourceIndex)));
     }
 }