internal object PublishClone(AutomaticSubtotalContext context)
        {
            MapCustomColor mapCustomColor = (MapCustomColor)MemberwiseClone();

            mapCustomColor.m_map = context.CurrentMapClone;
            if (m_color != null)
            {
                mapCustomColor.m_color = (ExpressionInfo)m_color.PublishClone(context);
            }
            return(mapCustomColor);
        }
        internal override void SetExprHost(MapAppearanceRuleExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            base.SetExprHost(exprHost, reportObjectModel);
            IList <MapCustomColorExprHost> mapCustomColorsHostsRemotable = ExprHost.MapCustomColorsHostsRemotable;

            if (m_mapCustomColors == null || mapCustomColorsHostsRemotable == null)
            {
                return;
            }
            for (int i = 0; i < m_mapCustomColors.Count; i++)
            {
                MapCustomColor mapCustomColor = m_mapCustomColors[i];
                if (mapCustomColor != null && mapCustomColor.ExpressionHostID > -1)
                {
                    mapCustomColor.SetExprHost(mapCustomColorsHostsRemotable[mapCustomColor.ExpressionHostID], reportObjectModel);
                }
            }
        }
Example #3
0
 internal MapCustomColor(Microsoft.ReportingServices.ReportIntermediateFormat.MapCustomColor defObject, Map map)
 {
     m_defObject = defObject;
     m_map       = map;
 }