Show / Hide Table of Contents

Class CollectorCustomResult

The collector custom result client object

Inheritance
object
ModelBase
CollectorCustomResult
Implements
ICollectorCustomResult
IModel
IAttributeObject
IEquatable<ICollectorCustomResult>
INumericValueResult
Inherited Members
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 CollectorCustomResult : ModelBase, ICollectorCustomResult, IModel, IAttributeObject, IEquatable<ICollectorCustomResult>, INumericValueResult

Constructors

CollectorCustomResult()

Initializes a new instance

Declaration
public CollectorCustomResult()

CollectorCustomResult(CollectorCustomResult)

Initializes a new instance from a copy

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

The copy source

Properties

Attributes

Declaration
[JsonPropertyOrder(109)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type Description
Dictionary<string, object>

CollectorName

The collector name (immutable)

Declaration
[Required]
[JsonPropertyOrder(100)]
public string CollectorName { get; set; }
Property Value
Type Description
string

CollectorNameLocalizations

The localized collector names (immutable)

Declaration
[JsonPropertyOrder(101)]
public Dictionary<string, string> CollectorNameLocalizations { get; set; }
Property Value
Type Description
Dictionary<string, string>

CollectorResultId

The wage type result id (immutable)

Declaration
[JsonPropertyOrder(100)]
public int CollectorResultId { get; set; }
Property Value
Type Description
int

Culture

The collector custom result culture name based on RFC 4646+

Declaration
[JsonPropertyOrder(105)]
public string Culture { get; set; }
Property Value
Type Description
string

End

The period ending date for the value

Declaration
[JsonPropertyOrder(107)]
public DateTime End { get; set; }
Property Value
Type Description
DateTime

Source

The value source (immutable)

Declaration
[Required]
[JsonPropertyOrder(102)]
public string Source { get; set; }
Property Value
Type Description
string

Start

The period starting date for the value

Declaration
[JsonPropertyOrder(106)]
public DateTime Start { get; set; }
Property Value
Type Description
DateTime

Tags

The result tags

Declaration
[JsonPropertyOrder(108)]
public List<string> Tags { get; set; }
Property Value
Type Description
List<string>

Value

The collector custom result value (immutable)

Declaration
[JsonPropertyOrder(104)]
public decimal? Value { get; set; }
Property Value
Type Description
decimal?
Remarks

Nullable for tests

ValueType

The value type (immutable)

Declaration
[JsonPropertyOrder(103)]
public ValueType ValueType { get; set; }
Property Value
Type Description
ValueType

Methods

AlmostEqualValue(decimal?, int)

Test if value is almost equal value using a test precision

Declaration
public virtual bool AlmostEqualValue(decimal? compare, int precision)
Parameters
Type Name Description
decimal? compare

The value to compare

int precision

The test precision

Returns
Type Description
bool

True for almost equal values

Equals(ICollectorCustomResult)

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

GetUiString()

The object UI string

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

ToString()

Returns a string that represents this instance

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance

Overrides
ModelBase.ToString()

Implements

ICollectorCustomResult
IModel
IAttributeObject
IEquatable<T>
INumericValueResult

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