Class CaseSetExtensions
Extension methods for the CaseSet
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class CaseSetExtensions
Methods
EnsureUniqueNames(CaseSet)
Ensure unique case names and case field names, including related cases
Declaration
public static void EnsureUniqueNames(this CaseSet caseSet)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseSet | caseSet |
FindCase(CaseSet, string)
Find case by name, considering related cases
Declaration
public static CaseSet FindCase(this CaseSet caseSet, string caseName)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseSet | caseSet | |
| string | caseName | The name of the case |
Returns
| Type | Description |
|---|---|
| CaseSet | The value case field matching the name, null on missing case field |
FindCaseField(CaseSet, string)
Find case field by name, considering related cases
Declaration
public static CaseFieldSet FindCaseField(this CaseSet caseSet, string caseFieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseSet | caseSet | |
| string | caseFieldName | The name of the case field |
Returns
| Type | Description |
|---|---|
| CaseFieldSet | The value case field matching the name, null on missing case field |