public object PublishClone(AutomaticSubtotalContext context)
        {
            MapFieldName mapFieldName = (MapFieldName)base.MemberwiseClone();

            mapFieldName.m_map = context.CurrentMapClone;
            if (this.m_name != null)
            {
                mapFieldName.m_name = (ExpressionInfo)this.m_name.PublishClone(context);
            }
            return(mapFieldName);
        }
        public override void SetExprHost(MapSpatialDataExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            base.SetExprHostInternal(exprHost, reportObjectModel);
            IList <MapFieldNameExprHost> mapFieldNamesHostsRemotable = this.ExprHost.MapFieldNamesHostsRemotable;

            if (this.m_mapFieldNames != null && mapFieldNamesHostsRemotable != null)
            {
                for (int i = 0; i < this.m_mapFieldNames.Count; i++)
                {
                    MapFieldName mapFieldName = this.m_mapFieldNames[i];
                    if (mapFieldName != null && mapFieldName.ExpressionHostID > -1)
                    {
                        mapFieldName.SetExprHost(mapFieldNamesHostsRemotable[mapFieldName.ExpressionHostID], reportObjectModel);
                    }
                }
            }
        }
Пример #3
0
 public MapFieldName(AspNetCore.ReportingServices.ReportIntermediateFormat.MapFieldName defObject, Map map)
 {
     this.m_defObject = defObject;
     this.m_map       = map;
 }