Esempio n. 1
0
 public override void Add(string textboxName, object textboxValue)
 {
     if (textboxName == null)
     {
         throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation);
     }
     foreach (DataAggregateObj @object in this.m_aggregates.Objects)
     {
         this.m_processingContext.ReportObjectModel.AggregatesImpl.Add(@object);
     }
     if (this.m_processingContext.ReportItemsReferenced)
     {
         TextBoxImpl textBoxImpl = (TextBoxImpl)((ReportItems)this.m_processingContext.ReportObjectModel.ReportItemsImpl)[textboxName];
         if (textBoxImpl != null)
         {
             textBoxImpl.SetResult(new VariantResult(false, textboxValue));
         }
         AggregatesImpl aggregatesImpl = (AggregatesImpl)this.m_aggregatesOverReportItems[textboxName];
         if (aggregatesImpl != null)
         {
             foreach (DataAggregateObj object2 in aggregatesImpl.Objects)
             {
                 object2.Update();
             }
         }
     }
 }
Esempio n. 2
0
 internal TextBoxImpl GetTextBoxImpl(OnDemandProcessingContext context)
 {
     if (m_textBoxImpl == null)
     {
         _ = context.ReportRuntime;
         ReportItemsImpl reportItemsImpl = context.ReportObjectModel.ReportItemsImpl;
         m_textBoxImpl = (TextBoxImpl)reportItemsImpl.GetReportItem(m_name);
         Global.Tracer.Assert(m_textBoxImpl != null, "(m_textBoxImpl != null)");
     }
     return(m_textBoxImpl);
 }
Esempio n. 3
0
 public TextBoxImpl GetTextBoxImpl(OnDemandProcessingContext context)
 {
     if (this.m_textBoxImpl == null)
     {
         AspNetCore.ReportingServices.RdlExpressions.ReportRuntime reportRuntime = context.ReportRuntime;
         ReportItemsImpl reportItemsImpl = context.ReportObjectModel.ReportItemsImpl;
         this.m_textBoxImpl = (TextBoxImpl)reportItemsImpl.GetReportItem(base.m_name);
         Global.Tracer.Assert(this.m_textBoxImpl != null, "(m_textBoxImpl != null)");
     }
     return(this.m_textBoxImpl);
 }