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

                case MemberName.MapMarkerStyle:
                    this.m_mapMarkerStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapMarkerlImage:
                    this.m_mapMarkerImage = (MapMarkerImage)reader.ReadRIFObject();
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Beispiel #2
0
        public object PublishClone(AutomaticSubtotalContext context)
        {
            MapMarkerImage mapMarkerImage = (MapMarkerImage)base.MemberwiseClone();

            mapMarkerImage.m_map = context.CurrentMapClone;
            if (this.m_source != null)
            {
                mapMarkerImage.m_source = (ExpressionInfo)this.m_source.PublishClone(context);
            }
            if (this.m_value != null)
            {
                mapMarkerImage.m_value = (ExpressionInfo)this.m_value.PublishClone(context);
            }
            if (this.m_mIMEType != null)
            {
                mapMarkerImage.m_mIMEType = (ExpressionInfo)this.m_mIMEType.PublishClone(context);
            }
            if (this.m_transparentColor != null)
            {
                mapMarkerImage.m_transparentColor = (ExpressionInfo)this.m_transparentColor.PublishClone(context);
            }
            if (this.m_resizeMode != null)
            {
                mapMarkerImage.m_resizeMode = (ExpressionInfo)this.m_resizeMode.PublishClone(context);
            }
            return(mapMarkerImage);
        }
 public MapMarkerImage(AspNetCore.ReportingServices.ReportIntermediateFormat.MapMarkerImage defObject, Map map)
 {
     this.m_defObject = defObject;
     this.m_map       = map;
 }