[]
Creates an evaluation context with the specified parameters.
public static IEvaluationContext MakeContext(IReportInformationService reportInfo, IPageInformationService pageInfo, IReadOnlyDictionary<string, object> customContext = null, Lazy<Parameters> parameters = null)
| Type | Name | Description |
|---|---|---|
| IReportInformationService | reportInfo | The report information service. |
| IPageInformationService | pageInfo | The page information service. |
| IReadOnlyDictionary<string, object> | customContext | Optional custom context fields. |
| Lazy<Parameters> | parameters | Optional parameters. |
| Type | Description |
|---|---|
| IEvaluationContext | An instance of IEvaluationContext. |
Creates an evaluation context for a report.
public static IEvaluationContext MakeContext(Report report, ThemeService themeService, IReportInformationService reportInfo, ResourceLocator resourceLocator, Lazy<Parameters> parameters = null, int themeIndex = 0, IReadOnlyDictionary<string, object> customContext = null)
| Type | Name | Description |
|---|---|---|
| Report | report | The report definition. |
| ThemeService | themeService | The theme service. |
| IReportInformationService | reportInfo | The report information service. |
| ResourceLocator | resourceLocator | The resource locator. |
| Lazy<Parameters> | parameters | Optional parameters. |
| int | themeIndex | The theme index. |
| IReadOnlyDictionary<string, object> | customContext | Optional custom context fields. |
| Type | Description |
|---|---|
| IEvaluationContext | An instance of IEvaluationContext. |
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |