protected IndicatorShape(SerializationInfo Info, StreamingContext Context) : base(Info, Context) { Utils.Deserializing(); this.Shape = (Shape)Info.GetValueWithType("Shape"); this._IndicatorsShape = (ShapeOfIndicator)Info.GetInt32("IndicatorsShape"); this._IndicatorsSize = Info.GetInt32("IndicatorsSize"); }
protected ShapeCollection(SerializationInfo Info, StreamingContext Context) : base(Info, Context) { Utils.Deserializing(); this._IsSelected = Info.GetBoolean("IsSelected"); this._IsVisible = Info.GetBoolean("IsVisible"); var N = Info.GetInt32("Shapes.Count"); for (int i = 0; i < N; i++) { this._Shapes.Add((ShapeBase)Info.GetValueWithType("Shapes[" + i + "]")); } }
protected ShapeBag(SerializationInfo Info, StreamingContext Context) : base(Info, Context) { Utils.Deserializing(); this._Shapes = (IEnumerable<Shape>)Info.GetValueWithType("Shapes"); }
protected ShapeBase(SerializationInfo Info, StreamingContext Context) { Utils.Deserializing(); this._Name = Info.GetString("Name"); this._Parent = (ShapeBase)Info.GetValueWithType("Parent"); }