Esempio n. 1
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(MapLineRules.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Map:
                    this.m_map = reader.ReadReference <Map>(this);
                    break;

                case MemberName.MapSizeRule:
                    this.m_mapSizeRule = (MapSizeRule)reader.ReadRIFObject();
                    break;

                case MemberName.MapColorRule:
                    this.m_mapColorRule = (MapColorRule)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapSizeRule mapSizeRule = (MapSizeRule)base.PublishClone(context);

            if (this.m_startSize != null)
            {
                mapSizeRule.m_startSize = (ExpressionInfo)this.m_startSize.PublishClone(context);
            }
            if (this.m_endSize != null)
            {
                mapSizeRule.m_endSize = (ExpressionInfo)this.m_endSize.PublishClone(context);
            }
            return(mapSizeRule);
        }
Esempio n. 3
0
 public MapSizeRule(AspNetCore.ReportingServices.ReportIntermediateFormat.MapSizeRule defObject, MapVectorLayer mapVectorLayer, Map map)
     : base(defObject, mapVectorLayer, map)
 {
 }