Class CaseRuntimeBase
Runtime for the case function
Inheritance
CaseRuntimeBase
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Runtime.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public abstract class CaseRuntimeBase : PayrollRuntime, ICaseRuntime, IPayrollRuntime, IRuntime
Constructors
View SourceCaseRuntimeBase(PayrollHttpClient, ScriptContext, int, int, int, Case, int?)
Initializes a new instance of the CaseRuntimeBase class
Declaration
protected CaseRuntimeBase(PayrollHttpClient httpClient, ScriptContext scriptContext, int tenantId, int userId, int payrollId, Case @case, int? employeeId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The Payroll http client |
| ScriptContext | scriptContext | The script context |
| int | tenantId | The tenant id |
| int | userId | The user id |
| int | payrollId | The payroll id |
| Case | case | The runtime case |
| int? | employeeId | The employee id |
Properties
View SourceCase
The case
Declaration
protected Case Case { get; }
Property Value
| Type | Description |
|---|---|
| Case |
CaseName
The case name
Declaration
public string CaseName { get; }
Property Value
| Type | Description |
|---|---|
| string |
CaseType
The case CaseType
Declaration
public int CaseType { get; }
Property Value
| Type | Description |
|---|---|
| int |
LogOwner
The log owner, the source identifier
Declaration
protected override string LogOwner { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
View SourceGetCaseAttribute(string)
Get case attribute value
Declaration
public object GetCaseAttribute(string attributeName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | attributeName | Name of the attribute |
Returns
| Type | Description |
|---|---|
| object | The case attribute value |