/// <summary> /// Initializes a new instance of the <see cref="Jantu.DataManager"/> class /// from serialized data. /// </summary> /// <param name='info'> /// Info. /// </param> /// <param name='ctx'> /// Context. /// </param> public DataManager(SerializationInfo info, StreamingContext ctx) { _foodKinds = (FoodKindManager)info.GetValue("FoodKinds", typeof(FoodKindManager)); _species = (SpeciesManager)info.GetValue("Species", typeof(SpeciesManager)); }
/// <summary> /// Initializes a new instance of the <see cref="Jantu.DataManager"/> class. /// </summary> public DataManager() { _foodKinds = new FoodKindManager(); _species = new SpeciesManager(); }