public static Storable RecallStorableObject(SerializationInfo info, string objectName, Type objectType) { Storable storable = info.GetValue(objectName, objectType) as Storable; if (storable != null) { storable.SetObjectData(); } return(storable); }
protected Storable RecallStorableObject(string objectName, Type objectType) { Storable storable = info.GetValue(objectName, objectType) as Storable; if (storable != null) { storable.SetObjectData(); } return(storable); }