public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(MapPolygon.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.UseCustomPolygonTemplate: this.m_useCustomPolygonTemplate = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.MapPolygonTemplate: this.m_mapPolygonTemplate = (MapPolygonTemplate)reader.ReadRIFObject(); break; case MemberName.UseCustomPointTemplate: this.m_useCustomCenterPointTemplate = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.MapPointTemplate: this.m_mapCenterPointTemplate = (MapPointTemplate)reader.ReadRIFObject(); break; default: Global.Tracer.Assert(false); break; } } }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(MapPolygonLayer.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.MapPolygonTemplate: this.m_mapPolygonTemplate = (MapPolygonTemplate)reader.ReadRIFObject(); break; case MemberName.MapPolygonRules: this.m_mapPolygonRules = (MapPolygonRules)reader.ReadRIFObject(); break; case MemberName.MapPointTemplate: this.m_mapCenterPointTemplate = (MapPointTemplate)reader.ReadRIFObject(); break; case MemberName.MapPointRules: this.m_mapCenterPointRules = (MapPointRules)reader.ReadRIFObject(); break; case MemberName.MapPolygons: this.m_mapPolygons = reader.ReadGenericListOfRIFObjects <MapPolygon>(); break; default: Global.Tracer.Assert(false); break; } } }
public override object PublishClone(AutomaticSubtotalContext context) { MapPolygonTemplate mapPolygonTemplate = (MapPolygonTemplate)base.PublishClone(context); if (this.m_scaleFactor != null) { mapPolygonTemplate.m_scaleFactor = (ExpressionInfo)this.m_scaleFactor.PublishClone(context); } if (this.m_centerPointOffsetX != null) { mapPolygonTemplate.m_centerPointOffsetX = (ExpressionInfo)this.m_centerPointOffsetX.PublishClone(context); } if (this.m_centerPointOffsetY != null) { mapPolygonTemplate.m_centerPointOffsetY = (ExpressionInfo)this.m_centerPointOffsetY.PublishClone(context); } if (this.m_showLabel != null) { mapPolygonTemplate.m_showLabel = (ExpressionInfo)this.m_showLabel.PublishClone(context); } if (this.m_labelPlacement != null) { mapPolygonTemplate.m_labelPlacement = (ExpressionInfo)this.m_labelPlacement.PublishClone(context); } return(mapPolygonTemplate); }
public MapPolygonTemplate(AspNetCore.ReportingServices.ReportIntermediateFormat.MapPolygonTemplate defObject, MapPolygonLayer shapeLayer, Map map) : base(defObject, shapeLayer, map) { }