Class ReportParameterParser
Report parameter parser
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Function.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class ReportParameterParser
Constructors
View SourceReportParameterParser(PayrollHttpClient, int, int?)
Parser constructor
Declaration
public ReportParameterParser(PayrollHttpClient httpClient, int tenantId, int? regulationId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The Payroll http configuration |
| int | tenantId | The tenant id |
| int? | regulationId | The regulation id |
Properties
View SourceHttpClient
The Payroll http client
Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
| Type | Description |
|---|---|
| PayrollHttpClient |
RegulationId
The regulation id
Declaration
public int? RegulationId { get; }
Property Value
| Type | Description |
|---|---|
| int? |
TenantId
The tenant id
Declaration
public int TenantId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
View SourceParseParametersAsync(Dictionary<string, string>)
Parse and resolve report parameters by replacing identifier values with their corresponding ids
Declaration
public Task ParseParametersAsync(Dictionary<string, string> parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| Dictionary<string, string> | parameters | The report parameters to resolve |
Returns
| Type | Description |
|---|---|
| Task |