Class PayrollScriptExport
Export payroll scripts fro development
Inherited Members
Namespace: PayrollEngine.Client.Script
Assembly: PayrollEngine.Client.Core.dll
Syntax
public sealed class PayrollScriptExport
Constructors
PayrollScriptExport(PayrollHttpClient, ScriptExportContext)
Initializes a new instance of the PayrollScriptExport class
Declaration
public PayrollScriptExport(PayrollHttpClient httpClient, ScriptExportContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The payroll http client |
| ScriptExportContext | context | The export context |
Fields
DefaultNamespace
The default c# namespace
Declaration
public static readonly string DefaultNamespace
Field Value
| Type | Description |
|---|---|
| string |
Properties
Context
The export context
Declaration
public ScriptExportContext Context { get; }
Property Value
| Type | Description |
|---|---|
| ScriptExportContext |
HttpClient
The Payroll http client
Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
| Type | Description |
|---|---|
| PayrollHttpClient |
Methods
ExportAsync(int)
Export regulation scripts
Declaration
public Task<List<DevelopmentScript>> ExportAsync(int regulationId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | regulationId | The regulation id |
Returns
| Type | Description |
|---|---|
| Task<List<DevelopmentScript>> | The regulation scripts |