public object PublishClone(AutomaticSubtotalContext context) { MapMarker mapMarker = (MapMarker)base.MemberwiseClone(); mapMarker.m_map = context.CurrentMapClone; if (this.m_mapMarkerStyle != null) { mapMarker.m_mapMarkerStyle = (ExpressionInfo)this.m_mapMarkerStyle.PublishClone(context); } if (this.m_mapMarkerImage != null) { mapMarker.m_mapMarkerImage = (MapMarkerImage)this.m_mapMarkerImage.PublishClone(context); } return(mapMarker); }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(MapMarkerTemplate.m_Declaration); while (reader.NextMember()) { MemberName memberName = reader.CurrentMember.MemberName; if (memberName == MemberName.MapMarker) { this.m_mapMarker = (MapMarker)reader.ReadRIFObject(); } else { Global.Tracer.Assert(false); } } }
public override void SetExprHost(MapAppearanceRuleExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); base.SetExprHost(exprHost, reportObjectModel); IList <MapMarkerExprHost> mapMarkersHostsRemotable = this.ExprHost.MapMarkersHostsRemotable; if (this.m_mapMarkers != null && mapMarkersHostsRemotable != null) { for (int i = 0; i < this.m_mapMarkers.Count; i++) { MapMarker mapMarker = this.m_mapMarkers[i]; if (mapMarker != null && mapMarker.ExpressionHostID > -1) { mapMarker.SetExprHost(mapMarkersHostsRemotable[mapMarker.ExpressionHostID], reportObjectModel); } } } }
public MapMarker(AspNetCore.ReportingServices.ReportIntermediateFormat.MapMarker defObject, Map map) { this.m_defObject = defObject; this.m_map = map; }