コード例 #1
0
        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);
        }
コード例 #2
0
        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);
                }
            }
        }
コード例 #3
0
 internal MapCustomColor(Microsoft.ReportingServices.ReportIntermediateFormat.MapCustomColor defObject, Map map)
 {
     m_defObject = defObject;
     m_map       = map;
 }