public Project() { this._InputFileName = "input.txt"; this._OutputFileName = "output.txt"; this._ProjectFilePath = null; this._Shape = new ShapeCollection() { Name = "Shapes" }; this._ShapesForInput = new ShapeHierarchyList(this._Shape); }
protected Project(SerializationInfo Info, StreamingContext Context) { Utils.Deserializing(); this._InputFileName = Info.GetString("InputFileName"); this._InputFileTypeKey = Info.GetString("InputFileTypeKey"); this._OutputFileName = Info.GetString("OutputFileName"); this._OutputFileTypeKey = Info.GetString("OutputFileTypeKey"); //this._ProjectFilePath = Info.GetString("ProjectFilePath"); this._Shape = (ShapeCollection)Info.GetValue("Shape", typeof(ShapeCollection)); this._ShapesForInput = (ShapeHierarchyList)Info.GetValue("ShapesToOutput", typeof(ShapeHierarchyList)); }