internal object PublishClone(AutomaticSubtotalContext context)
        {
            MapMarkerImage mapMarkerImage = (MapMarkerImage)MemberwiseClone();

            mapMarkerImage.m_map = context.CurrentMapClone;
            if (m_source != null)
            {
                mapMarkerImage.m_source = (ExpressionInfo)m_source.PublishClone(context);
            }
            if (m_value != null)
            {
                mapMarkerImage.m_value = (ExpressionInfo)m_value.PublishClone(context);
            }
            if (m_mIMEType != null)
            {
                mapMarkerImage.m_mIMEType = (ExpressionInfo)m_mIMEType.PublishClone(context);
            }
            if (m_transparentColor != null)
            {
                mapMarkerImage.m_transparentColor = (ExpressionInfo)m_transparentColor.PublishClone(context);
            }
            if (m_resizeMode != null)
            {
                mapMarkerImage.m_resizeMode = (ExpressionInfo)m_resizeMode.PublishClone(context);
            }
            return(mapMarkerImage);
        }
Пример #2
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Map:
                    m_map = reader.ReadReference <Map>(this);
                    break;

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

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #3
0
 internal MapMarkerImage(Microsoft.ReportingServices.ReportIntermediateFormat.MapMarkerImage defObject, Map map)
 {
     m_defObject = defObject;
     m_map       = map;
 }