Show / Hide Table of Contents

Class LookupValue

Represents a value within a lookup

Inheritance
object
ModelBase
LookupValue
Implements
ILookupValue
IModel
IKeyEquatable<ILookupValue>
IEquatable<ILookupValue>
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
Overrides
ModelBase.GetUiString()

Implements

ILookupValue
IModel
IKeyEquatable<T>
IEquatable<T>

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX