public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.MapPolygonTemplate: m_mapPolygonTemplate = (MapPolygonTemplate)reader.ReadRIFObject(); break; case MemberName.MapPolygonRules: m_mapPolygonRules = (MapPolygonRules)reader.ReadRIFObject(); break; case MemberName.MapPointTemplate: m_mapCenterPointTemplate = (MapPointTemplate)reader.ReadRIFObject(); break; case MemberName.MapPointRules: m_mapCenterPointRules = (MapPointRules)reader.ReadRIFObject(); break; case MemberName.MapPolygons: m_mapPolygons = reader.ReadGenericListOfRIFObjects <MapPolygon>(); break; default: Global.Tracer.Assert(condition: false); break; } } }
internal object PublishClone(AutomaticSubtotalContext context) { MapPointRules mapPointRules = (MapPointRules)MemberwiseClone(); mapPointRules.m_map = context.CurrentMapClone; if (m_mapSizeRule != null) { mapPointRules.m_mapSizeRule = (MapSizeRule)m_mapSizeRule.PublishClone(context); } if (m_mapColorRule != null) { mapPointRules.m_mapColorRule = (MapColorRule)m_mapColorRule.PublishClone(context); } if (m_mapMarkerRule != null) { mapPointRules.m_mapMarkerRule = (MapMarkerRule)m_mapMarkerRule.PublishClone(context); } return(mapPointRules); }
internal MapPointRules(Microsoft.ReportingServices.ReportIntermediateFormat.MapPointRules defObject, MapVectorLayer mapVectorLayer, Map map) { m_defObject = defObject; m_mapVectorLayer = mapVectorLayer; m_map = map; }