Show / Hide Table of Contents

Class CaseSetExtensions

Extension methods for the CaseSet

Inheritance
object
CaseSetExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

☀
☾
Back to top Generated by DocFX