Class LookupValue
Represents a value within a lookup
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class LookupValue : ModelBase, ILookupValue, IModel, IKeyEquatable<ILookupValue>, IEquatable<ILookupValue>
Constructors
LookupValue()
Initializes a new instance
Declaration
public LookupValue()
LookupValue(LookupValue)
Initializes a new instance from a copy
Declaration
public LookupValue(LookupValue copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| LookupValue | copySource | The copy source |
Properties
Key
The lookup key
Declaration
[JsonPropertyOrder(100)]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
KeyValues
The lookup key values (client only)
Declaration
[JsonPropertyOrder(101)]
public object[] KeyValues { get; set; }
Property Value
| Type | Description |
|---|---|
| object[] |
OverrideType
The override type
Declaration
[JsonPropertyOrder(106)]
public OverrideType OverrideType { get; set; }
Property Value
| Type | Description |
|---|---|
| OverrideType |
RangeValue
The lookup range value
Declaration
[JsonPropertyOrder(105)]
public decimal? RangeValue { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal? |
Value
The lookup value as JSON
Declaration
[JsonPropertyOrder(102)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValueLocalizations
The localized lookup values
Declaration
[JsonPropertyOrder(104)]
public Dictionary<string, string> ValueLocalizations { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
ValueObject
The lookup value object
Declaration
[JsonReadOnly]
[JsonPropertyOrder(103)]
public object ValueObject { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ValueObjectLocalizations
The localized lookup values
Declaration
[JsonPropertyOrder(100)]
public Dictionary<string, object> ValueObjectLocalizations { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Methods
EqualKey(ILookupValue)
Test for the same item key
Declaration
public virtual bool EqualKey(ILookupValue compare)
Parameters
| Type | Name | Description |
|---|---|---|
| ILookupValue | compare |
Returns
| Type | Description |
|---|---|
| bool |
Equals(ILookupValue)
Declaration
public virtual bool Equals(ILookupValue compare)
Parameters
| Type | Name | Description |
|---|---|---|
| ILookupValue | compare |
Returns
| Type | Description |
|---|---|
| bool |
GetUiString()
The object UI string
Declaration
public override string GetUiString()
Returns
| Type | Description |
|---|---|
| string |