Class PayrunEndFunction
Payrun end function
Implements
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Function
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public class PayrunEndFunction : PayrunFunction, IDisposable
Constructors
PayrunEndFunction(object)
Initializes a new instance with the function runtime
Declaration
public PayrunEndFunction(object runtime)
Parameters
| Type | Name | Description |
|---|---|---|
| object | runtime | The runtime |
PayrunEndFunction(string)
New function instance without runtime (scripting development)
Declaration
protected PayrunEndFunction(string sourceFileName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sourceFileName | The name of the source file |
Remarks
Use GetSourceFileName(string) in your constructor for the source file name
Methods
End()
Entry point for the runtime
Declaration
public void End()
Remarks
Internal usage only, do not call this method
GetEmployeeRuntimeValues(string)
Get employee runtime values
Declaration
public Dictionary<string, string> GetEmployeeRuntimeValues(string employeeIdentifier)
Parameters
| Type | Name | Description |
|---|---|---|
| string | employeeIdentifier | The employee identifier |
Returns
| Type | Description |
|---|---|
| Dictionary<string, string> | Employee runtime values |
GetPayrunRuntimeValues()
Get payrun runtime values
Declaration
public Dictionary<string, string> GetPayrunRuntimeValues()
Returns
| Type | Description |
|---|---|
| Dictionary<string, string> | Payrun runtime values |
GetRuntimeValuesEmployees()
Get the employees with runtime values
Declaration
public List<string> GetRuntimeValuesEmployees()
Returns
| Type | Description |
|---|---|
| List<string> | Payrun runtime values |