Class CollectorStartRuntime
Runtime for the collector start function
Inheritance
CollectorStartRuntime
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Runtime.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class CollectorStartRuntime : CollectorRuntimeBase, ICollectorStartRuntime, ICollectorRuntime, IPayrunRuntime, IPayrollRuntime, IRuntime
Constructors
View SourceCollectorStartRuntime(PayrollHttpClient, ScriptContext, int, int, int, int?)
Initializes a new instance of the CollectorStartRuntime class
Declaration
public CollectorStartRuntime(PayrollHttpClient httpClient, ScriptContext scriptContext, int tenantId, int userId, int payrollId, 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 |
| int? | employeeId | The employee id |
Properties
View SourceLogOwnerType
The log owner type
Declaration
protected override string LogOwnerType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
View SourceGetStartActions()
Get collector start actions
Declaration
public string[] GetStartActions()
Returns
| Type | Description |
|---|---|
| string[] |
GetValues()
Get collector values
Declaration
public decimal[] GetValues()
Returns
| Type | Description |
|---|---|
| decimal[] |
SetValues(decimal[])
Sets the collector values
Declaration
public void SetValues(decimal[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| decimal[] | values | The values to set |