Show / Hide Table of Contents

Class QueryInvoker

Query invoker

Inheritance
object
QueryInvoker
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 QueryInvoker

Constructors

View Source

QueryInvoker(PayrollHttpClient)

Invoker constructor

Declaration
public QueryInvoker(PayrollHttpClient httpClient)
Parameters
Type Name Description
PayrollHttpClient httpClient

The Payroll http configuration

Properties

View Source

HttpClient

The Payroll http client

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

Methods

View Source

InvokeQueriesAsync(int, int, string, ReportRequest)

Get report

Declaration
public Task<DataSet> InvokeQueriesAsync(int tenantId, int regulationId, string reportName, ReportRequest reportRequest)
Parameters
Type Name Description
int tenantId

The tenant id

int regulationId

The regulation id

string reportName

Name of the report

ReportRequest reportRequest

The report request

Returns
Type Description
Task<DataSet>
View Source

InvokeQueriesAsync(string, ReportRequest)

Get report

Declaration
public Task<DataSet> InvokeQueriesAsync(string reportName, ReportRequest reportRequest)
Parameters
Type Name Description
string reportName

Name of the report

ReportRequest reportRequest

The report request, including the tenant and regulation parameters

Returns
Type Description
Task<DataSet>
View Source

InvokeQueriesAsync(string, string, string, ReportRequest)

Get report

Declaration
public Task<DataSet> InvokeQueriesAsync(string tenantIdentifier, string regulationName, string reportName, ReportRequest reportRequest)
Parameters
Type Name Description
string tenantIdentifier

The tenant identifier

string regulationName

The regulation name

string reportName

Name of the report

ReportRequest reportRequest

The report request

Returns
Type Description
Task<DataSet>

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