protected ObjectGraph(SerializationInfo info, StreamingContext context)
 {
     internalCollection = (CustomCollection)info.GetValue("col", typeof(CustomCollection));
     Data = (DataContainer)info.GetValue("data", typeof(DataContainer));
 }
 public ObjectGraph()
 {
     internalCollection = new CustomCollection();
 }