Class CollectorEndFunction
End the collector
Implements
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Function
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public class CollectorEndFunction : CollectorFunction, IDisposable
Constructors
CollectorEndFunction(object)
Initializes a new instance with the function runtime
Declaration
public CollectorEndFunction(object runtime)
Parameters
| Type | Name | Description |
|---|---|---|
| object | runtime | The runtime |
CollectorEndFunction(string)
New function instance without runtime (scripting development)
Declaration
protected CollectorEndFunction(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 object End()
Returns
| Type | Description |
|---|---|
| object |
Remarks
Internal usage only, do not call this method
GetValues()
Get collector values
Declaration
public decimal[] GetValues()
Returns
| Type | Description |
|---|---|
| decimal[] |
SetValues(decimal[])
Set collector values
Declaration
public void SetValues(decimal[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| decimal[] | values |