Class ScriptExtensions
Extension methods for queries
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class ScriptExtensions
Methods
HasAnyScript(Case)
Test if a case has any script
Declaration
public static bool HasAnyScript(this Case @case)
Parameters
| Type | Name | Description |
|---|---|---|
| Case | case | The case to test |
Returns
| Type | Description |
|---|---|
| bool | True if any script is present |
HasAnyScript(CaseRelation)
Test if a case relation has any script
Declaration
public static bool HasAnyScript(this CaseRelation caseRelation)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseRelation | caseRelation | The case relation to test |
Returns
| Type | Description |
|---|---|
| bool | True if any script is present |
HasAnyScript(Collector)
Test if a collector has any script
Declaration
public static bool HasAnyScript(this Collector collector)
Parameters
| Type | Name | Description |
|---|---|---|
| Collector | collector | The collector to test |
Returns
| Type | Description |
|---|---|
| bool | True if any script is present |
HasAnyScript(Payrun)
Test if a payrun has any script
Declaration
public static bool HasAnyScript(this Payrun payrun)
Parameters
| Type | Name | Description |
|---|---|---|
| Payrun | payrun | The payrun to test |
Returns
| Type | Description |
|---|---|
| bool | True if any script is present |
HasAnyScript(Report)
Test if a report has any script
Declaration
public static bool HasAnyScript(this Report report)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | report | The report to test |
Returns
| Type | Description |
|---|---|
| bool | True if any script is present |
HasAnyScript(WageType)
Test if a wage type has any script
Declaration
public static bool HasAnyScript(this WageType wageType)
Parameters
| Type | Name | Description |
|---|---|---|
| WageType | wageType | The wage type to test |
Returns
| Type | Description |
|---|---|
| bool | True if any script is present |