コード例 #1
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(MapPointRules.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;

                case MemberName.MapMarkerRule:
                    this.m_mapMarkerRule = (MapMarkerRule)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
コード例 #2
0
        public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapMarkerRule mapMarkerRule = (MapMarkerRule)base.PublishClone(context);

            if (this.m_mapMarkers != null)
            {
                mapMarkerRule.m_mapMarkers = new List <MapMarker>(this.m_mapMarkers.Count);
                {
                    foreach (MapMarker mapMarker in this.m_mapMarkers)
                    {
                        mapMarkerRule.m_mapMarkers.Add((MapMarker)mapMarker.PublishClone(context));
                    }
                    return(mapMarkerRule);
                }
            }
            return(mapMarkerRule);
        }
コード例 #3
0
 public MapMarkerRule(AspNetCore.ReportingServices.ReportIntermediateFormat.MapMarkerRule defObject, MapVectorLayer mapVectorLayer, Map map)
     : base(defObject, mapVectorLayer, map)
 {
 }