public override object PublishClone(AutomaticSubtotalContext context)
        {
            LinearPointer linearPointer = (LinearPointer)base.PublishClone(context);

            if (this.m_type != null)
            {
                linearPointer.m_type = (ExpressionInfo)this.m_type.PublishClone(context);
            }
            if (this.m_thermometer != null)
            {
                linearPointer.m_thermometer = (Thermometer)this.m_thermometer.PublishClone(context);
            }
            return(linearPointer);
        }
Exemple #2
0
        public void SetExprHost(LinearScaleExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
            base.SetExprHost(exprHost, reportObjectModel);
            base.m_exprHost = exprHost;
            IList <LinearPointerExprHost> linearPointersHostsRemotable = ((LinearScaleExprHost)base.m_exprHost).LinearPointersHostsRemotable;

            if (this.m_gaugePointers != null && linearPointersHostsRemotable != null)
            {
                for (int i = 0; i < this.m_gaugePointers.Count; i++)
                {
                    LinearPointer linearPointer = this.m_gaugePointers[i];
                    if (linearPointer != null && linearPointer.ExpressionHostID > -1)
                    {
                        linearPointer.SetExprHost(linearPointersHostsRemotable[linearPointer.ExpressionHostID], reportObjectModel);
                    }
                }
            }
        }
Exemple #3
0
 public LinearPointer(AspNetCore.ReportingServices.ReportIntermediateFormat.LinearPointer defObject, GaugePanel gaugePanel)
     : base(defObject, gaugePanel)
 {
     base.m_defObject  = defObject;
     base.m_gaugePanel = gaugePanel;
 }
Exemple #4
0
 public LinearPointer this[string name]
 {
     get
     {
         for (int i = 0; i < this.Count; i++)
         {
             AspNetCore.ReportingServices.ReportIntermediateFormat.LinearPointer linearPointer = this.m_linearScale.LinearScaleDef.GaugePointers[i];
             if (string.CompareOrdinal(name, linearPointer.Name) == 0)
             {
                 return(base[i]);
             }
         }
         throw new RenderingObjectModelException(ProcessingErrorCode.rsNotInCollection, name);
     }
 }