Show / Hide Table of Contents

Class LookupData

Localized lookup for UI cases like list/grid selections

Inheritance
object
LookupData
Implements
ILookupData
IEquatable<ILookupData>
Inherited Members
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 LookupData : ILookupData, IEquatable<ILookupData>

Constructors

LookupData()

Initializes a new instance

Declaration
public LookupData()

LookupData(LookupData)

Initializes a new instance from a copy

Declaration
public LookupData(LookupData copySource)
Parameters
Type Name Description
LookupData copySource

The copy source

Properties

Culture

The culture of the values

Declaration
public string Culture { get; set; }
Property Value
Type Description
string

Name

The lookup name

Declaration
[Required]
[StringLength(128)]
public string Name { get; set; }
Property Value
Type Description
string

RangeSize

The lookup range size

Declaration
public decimal? RangeSize { get; set; }
Property Value
Type Description
decimal?

Values

The lookup values

Declaration
[Required]
public LookupValueData[] Values { get; set; }
Property Value
Type Description
LookupValueData[]

Methods

Equals(ILookupData)

Declaration
public virtual bool Equals(ILookupData compare)
Parameters
Type Name Description
ILookupData compare
Returns
Type Description
bool

ToString()

Returns a string that represents this instance

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance

Overrides
object.ToString()

Implements

ILookupData
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