Show / Hide Table of Contents

Class ReportParameterParser

Report parameter parser

Inheritance
object
ReportParameterParser
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Scripting.Function.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class ReportParameterParser

Constructors

View Source

ReportParameterParser(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 Source

HttpClient

The Payroll http client

Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
Type Description
PayrollHttpClient
View Source

RegulationId

The regulation id

Declaration
public int? RegulationId { get; }
Property Value
Type Description
int?
View Source

TenantId

The tenant id

Declaration
public int TenantId { get; }
Property Value
Type Description
int

Methods

View Source

ParseParametersAsync(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

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
  • View Source
☀
☾
Back to top Generated by DocFX