[]
Creates a simplified evaluation context sufficient to populate the data tree.
public static IExpressionContext Build(string reportName, EngineDataProcessor.DataExecutionContext context, DataParameter[] dataParameters, IReadOnlyDictionary<string, object> customContext = null)
Type | Name | Description |
---|---|---|
string | reportName | The name of the report. |
EngineDataProcessor.DataExecutionContext | context | The data execution context. |
DataParameter[] | dataParameters | The data parameters. |
IReadOnlyDictionary<string, object> | customContext | An optional dictionary of custom context objects. |
Type | Description |
---|---|
IExpressionContext | An GrapeCity.Enterprise.Data.DataEngine.ExpressionEvaluation.IExpressionContext instance. |
Creates an evaluation context for the specified report definition.
public static IEvaluationContext Build(Report reportDef, Lazy<Parameters> parameters, ResourceLocator resourceLocator, IReportInformationService ris, IReadOnlyDictionary<string, Func<CustomContextArgs, object>> customContext = null)
Type | Name | Description |
---|---|---|
Report | reportDef | The report definition. |
Lazy<Parameters> | parameters | The lazy-loaded parameters. |
ResourceLocator | resourceLocator | The resource locator. |
IReportInformationService | ris | The report information service. |
IReadOnlyDictionary<string, Func<CustomContextArgs, object>> | customContext | An optional dictionary of custom context functions. |
Type | Description |
---|---|
IEvaluationContext | An IEvaluationContext instance. |