public object PublishClone(AutomaticSubtotalContext context) { MapCustomColor mapCustomColor = (MapCustomColor)base.MemberwiseClone(); mapCustomColor.m_map = context.CurrentMapClone; if (this.m_color != null) { mapCustomColor.m_color = (ExpressionInfo)this.m_color.PublishClone(context); } return(mapCustomColor); }
public 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 = this.ExprHost.MapCustomColorsHostsRemotable; if (this.m_mapCustomColors != null && mapCustomColorsHostsRemotable != null) { for (int i = 0; i < this.m_mapCustomColors.Count; i++) { MapCustomColor mapCustomColor = this.m_mapCustomColors[i]; if (mapCustomColor != null && mapCustomColor.ExpressionHostID > -1) { mapCustomColor.SetExprHost(mapCustomColorsHostsRemotable[mapCustomColor.ExpressionHostID], reportObjectModel); } } } }
public MapCustomColor(AspNetCore.ReportingServices.ReportIntermediateFormat.MapCustomColor defObject, Map map) { this.m_defObject = defObject; this.m_map = map; }