Пример #1
0
 void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
 {
     info.AddValue("C2d", c2d, c2d.GetType());
     info.AddValue("Surface", surface, surface.GetType());
     info.AddValue("StartPos", startPos, startPos.GetType());
     info.AddValue("StartX", startX, startX.GetType());
     info.AddValue("StartY", startY, startY.GetType());
     info.AddValue("StartZ", startZ, startZ.GetType());
 }