예제 #1
0
 public ReportParameterDataSetCache(ProcessReportParameters aParamProcessor, ParameterInfo aParameter, IParameterDef aParamDef, bool aProcessValidValues, bool aProcessDefaultValues)
 {
     this.m_paramProcessor       = aParamProcessor;
     this.m_parameter            = aParameter;
     this.m_parameterDef         = aParamDef;
     this.m_processDefaultValues = aProcessDefaultValues;
     this.m_processValidValues   = aProcessValidValues;
     if (this.m_processDefaultValues)
     {
         this.m_defaultValues = new List <object>();
     }
     if (this.m_processValidValues)
     {
         this.m_parameter.ValidValues = new ValidValueList();
     }
 }
 public ProcessingMessageList Process(ParameterInfoCollection aParameters)
 {
     this.m_parameters = aParameters;
     try
     {
         if (this.m_parameters.IsAnyParameterDynamic)
         {
             this.InitParametersContext(this.m_parameters);
         }
         this.m_dependenciesSubmitted = ProcessReportParameters.BuildSubmittedDependencyList(this.m_parameters);
         for (int i = 0; i < aParameters.Count; i++)
         {
             this.ProcessParameter(this.m_parameters, i);
         }
         this.m_parameters.Validated = true;
         return(this.m_processingContext.ErrorContext.Messages);
     }
     finally
     {
         this.Cleanup();
     }
 }
예제 #3
0
 public LegacyReportParameterDataSetCache(ProcessReportParameters aParamProcessor, ParameterInfo aParameter, ParameterDef aParamDef, bool aProcessValidValues, bool aProcessDefaultValues)
     : base(aParamProcessor, aParameter, aParamDef, aProcessValidValues, aProcessDefaultValues)
 {
 }
 protected override string ApplySandboxStringRestriction(string value, string paramName, string propertyName)
 {
     return(ProcessReportParameters.ApplySandboxRestriction(ref value, paramName, propertyName, this.GetOnDemandContext(), base.m_maxStringResultLength));
 }
 public OnDemandReportParameterDataSetCache(ProcessReportParameters aParamProcessor, ParameterInfo aParameter, AspNetCore.ReportingServices.ReportIntermediateFormat.ParameterDef aParamDef, bool aProcessValidValues, bool aProcessDefaultValues)
     : base(aParamProcessor, aParameter, aParamDef, aProcessValidValues, aProcessDefaultValues)
 {
 }