public override Object Clone() { FrameRecord rec = new FrameRecord(); rec.field_1_borderType = field_1_borderType; rec.field_2_options = field_2_options; return(rec); }
public FrameAggregate(RecordStream rs, ChartRecordAggregate container) : base(RuleName_FRAME, container) { frame = (FrameRecord)rs.GetNext(); rs.GetNext();//BeginRecord lineFormat = (LineFormatRecord)rs.GetNext(); areaFormat = (AreaFormatRecord)rs.GetNext(); if (rs.PeekNextChartSid() == GelFrameRecord.sid) { gelFrame = new GelFrameAggregate(rs, this); } if (rs.PeekNextChartSid() == ShapePropsStreamRecord.sid) { shapeProps = new ShapePropsAggregate(rs, this); } Record r = rs.GetNext();//EndRecord Debug.Assert(r.GetType() == typeof(EndRecord)); }
public override Object Clone() { FrameRecord rec = new FrameRecord(); rec.field_1_borderType = field_1_borderType; rec.field_2_options = field_2_options; return rec; }