コード例 #1
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(GaugeRow.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeCell:
                    this.GaugeCell = (GaugeCell)reader.ReadRIFObject();
                    break;

                case MemberName.GaugePanel:
                    this.m_gaugePanel = reader.ReadReference <GaugePanel>(this);
                    break;

                case MemberName.Cells:
                    this.m_cells = reader.ReadListOfRIFObjects <GaugeCellList>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
コード例 #2
0
 public GaugeCell(GaugePanel owner, AspNetCore.ReportingServices.ReportIntermediateFormat.GaugeCell gaugeCellDef)
 {
     this.m_owner        = owner;
     this.m_gaugeCellDef = gaugeCellDef;
 }