Show / Hide Table of Contents

Class LookupSetExtensions

Extension methods for lookup sets

Inheritance
object
LookupSetExtensions
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 LookupSetExtensions
Remarks

Code duplicated in PayrollEngine.Domain.Model

Methods

ApplyRangeValue(ILookupSet, decimal, string)

Apply range value

Declaration
public static decimal ApplyRangeValue(this ILookupSet lookup, decimal rangeValue, string valueFieldName = null)
Parameters
Type Name Description
ILookupSet lookup

The lookup

decimal rangeValue

The range value

string valueFieldName

Value field name

Returns
Type Description
decimal

Lookup range value

ApplyThresholdRangeValue(ILookupSet, decimal, string)

Apply progressive factor value

Declaration
public static decimal ApplyThresholdRangeValue(this ILookupSet lookup, decimal rangeValue, string valueFieldName = null)
Parameters
Type Name Description
ILookupSet lookup

The lookup

decimal rangeValue

The range value

string valueFieldName

Value field name

Returns
Type Description
decimal

Summary of all lookup ranges

Remarks

The first lookup range value must be zero.

☀
☾
Back to top Generated by DocFX