Class CaseRelationController<TFunc, TFuncAttribute, TScriptAttribute>
Case relation function controller
Inheritance
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>
CaseRelationController<TFunc, TFuncAttribute, TScriptAttribute>
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Function.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public abstract class CaseRelationController<TFunc, TFuncAttribute, TScriptAttribute> : PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute> where TFunc : CaseRelationFunction where TFuncAttribute : CaseRelationFunctionAttribute where TScriptAttribute : CaseRelationScriptAttribute
Type Parameters
| Name | Description |
|---|---|
| TFunc | |
| TFuncAttribute | |
| TScriptAttribute |
Constructors
View SourceCaseRelationController(PayrollHttpClient, ScriptConfiguration)
Initializes a new instance of the CaseRelationController<TFunc, TFuncAttribute, TScriptAttribute> class
Declaration
protected CaseRelationController(PayrollHttpClient httpClient, ScriptConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The Payroll http client |
| ScriptConfiguration | configuration | The scripting configuration |
Methods
View SourceGetCaseSet(string)
Load the payroll case
Declaration
public Task<CaseSet> GetCaseSet(string caseName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | caseName | Name of the case |
Returns
| Type | Description |
|---|---|
| Task<CaseSet> | The case |
GetCaseSet<T>(string)
Load the payroll case
Declaration
public Task<T> GetCaseSet<T>(string caseName) where T : CaseSet
Parameters
| Type | Name | Description |
|---|---|---|
| string | caseName | Name of the case |
Returns
| Type | Description |
|---|---|
| Task<T> | The case |
Type Parameters
| Name | Description |
|---|---|
| T |