Beispiel #1
0
 public CustomProperty(RenderingContext renderingContext, AspNetCore.ReportingServices.ReportProcessing.ExpressionInfo nameExpr, AspNetCore.ReportingServices.ReportProcessing.ExpressionInfo valueExpr, string name, object value, TypeCode typeCode)
 {
     this.m_name  = new ReportStringProperty(nameExpr);
     this.m_value = new ReportVariantProperty(valueExpr);
     if (nameExpr.IsExpression || valueExpr.IsExpression)
     {
         this.m_instance = new CustomPropertyInstance(this, name, value, typeCode);
     }
     this.m_renderingContext = renderingContext;
 }
Beispiel #2
0
 private void Init(AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo nameExpr, AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo valueExpr, string name, object value, TypeCode typeCode)
 {
     this.m_name  = new ReportStringProperty(nameExpr);
     this.m_value = new ReportVariantProperty(valueExpr);
     if (nameExpr.IsExpression || valueExpr.IsExpression)
     {
         this.m_instance = new CustomPropertyInstance(this, name, value, typeCode);
     }
     else
     {
         this.m_instance = null;
     }
 }