public override object PublishClone(AutomaticSubtotalContext context)
        {
            RadialPointer radialPointer = (RadialPointer)base.PublishClone(context);

            if (this.m_type != null)
            {
                radialPointer.m_type = (ExpressionInfo)this.m_type.PublishClone(context);
            }
            if (this.m_pointerCap != null)
            {
                radialPointer.m_pointerCap = (PointerCap)this.m_pointerCap.PublishClone(context);
            }
            if (this.m_needleStyle != null)
            {
                radialPointer.m_needleStyle = (ExpressionInfo)this.m_needleStyle.PublishClone(context);
            }
            return(radialPointer);
        }
Exemple #2
0
        public void SetExprHost(RadialScaleExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
            base.SetExprHost(exprHost, reportObjectModel);
            base.m_exprHost = exprHost;
            IList <RadialPointerExprHost> radialPointersHostsRemotable = ((RadialScaleExprHost)base.m_exprHost).RadialPointersHostsRemotable;

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