Changeset 6394 for branches/MPI/HeuristicLab.Operators.MPISupport/3.3
- Timestamp:
- 06/08/11 14:26:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/MPI/HeuristicLab.Operators.MPISupport/3.3/MPITransportWrapper.cs
r6354 r6394 49 49 50 50 protected MPITransportWrapper(SerializationInfo info, StreamingContext context) { 51 MemoryStream stream = new MemoryStream(info.GetValue("Item", typeof(byte[])) as byte[]);52 if ( stream!= null)53 innerItem = XmlParser.Deserialize( stream) as T;51 byte[] buffer = info.GetValue("Item", typeof(byte[])) as byte[]; 52 if (buffer != null) 53 innerItem = XmlParser.Deserialize(new MemoryStream(buffer)) as T; 54 54 else 55 55 innerItem = null;
Note: See TracChangeset
for help on using the changeset viewer.