Show / Hide Table of Contents

Class ReportFunctionController<TFunc, TFuncAttribute, TScriptAttribute>

Function controller

Inheritance
object
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>
ReportFunctionController<TFunc, TFuncAttribute, TScriptAttribute>
ReportBuildController<TFunc>
ReportEndController<TFunc>
ReportStartController<TFunc>
Inherited Members
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.GetScriptMethod(string)
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.GetScriptAttribute(string)
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.HttpClient
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.Function
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.Methods
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 abstract class ReportFunctionController<TFunc, TFuncAttribute, TScriptAttribute> : FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute> where TFunc : ReportFunction where TFuncAttribute : ReportFunctionAttribute where TScriptAttribute : ReportScriptAttribute
Type Parameters
Name Description
TFunc

The function

TFuncAttribute

The function attribute

TScriptAttribute

The script attribute

Constructors

View Source

ReportFunctionController(PayrollHttpClient)

Initializes a new instance of the ReportFunctionController<TFunc, TFuncAttribute, TScriptAttribute> class

Declaration
protected ReportFunctionController(PayrollHttpClient httpClient)
Parameters
Type Name Description
PayrollHttpClient httpClient

The Report http client

Properties

View Source

Regulation

The regulation

Declaration
protected IRegulation Regulation { get; }
Property Value
Type Description
IRegulation
View Source

Tenant

The tenant

Declaration
protected ITenant Tenant { get; }
Property Value
Type Description
ITenant
View Source

User

The user

Declaration
protected IUser User { get; }
Property Value
Type Description
IUser

Methods

View Source

BuildReportRequest(string)

Build the report request using the function attributes

Declaration
public ReportRequest BuildReportRequest(string reportName)
Parameters
Type Name Description
string reportName

Name of the report

Returns
Type Description
ReportRequest
View Source

GetReport(string)

Get report

Declaration
protected ReportSet GetReport(string reportName)
Parameters
Type Name Description
string reportName

Name of the report

Returns
Type Description
ReportSet
View Source

GetReport(string, ReportRequest)

Get report

Declaration
protected ReportSet GetReport(string reportName, ReportRequest reportRequest)
Parameters
Type Name Description
string reportName

Name of the report

ReportRequest reportRequest

The report request

Returns
Type Description
ReportSet

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