Show / Hide Table of Contents

Class Collector

The payroll collector client object

Inheritance
object
ModelBase
Collector
Implements
ICollector
IModel
IAttributeObject
IKeyEquatable<ICollector>
IEquatable<ICollector>
INameObject
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 Collector : ModelBase, ICollector, IModel, IAttributeObject, IKeyEquatable<ICollector>, IEquatable<ICollector>, INameObject

Constructors

Collector()

Initializes a new instance

Declaration
public Collector()

Collector(Collector)

Initializes a new instance from a copy

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

The copy source

Properties

ApplyActions

The collector apply actions

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

ApplyExpression

Expression used while applying a value to the collector

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

ApplyExpressionFile

Expression used while applying a value to the collector file

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

Attributes

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

Clusters

The collector clusters

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

CollectMode

The collect mode (immutable, default: summary)

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

CollectorGroups

Associated collector groups

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

Culture

The collector culture name based on RFC 4646

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

EndActions

The collector end actions

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

EndExpression

Expression used while the collector is ended

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

EndExpressionFile

Expression used while the collector is ended file

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

MaxResult

The maximum allowed value

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

MinResult

The minimum allowed value

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

Name

The collector name

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

NameLocalizations

The localized collector names

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

Negated

Negated collector result (immutable, default: false)

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

OverrideType

The override type

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

StartActions

The collector start actions

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

StartExpression

Expression used while the collector is started

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

StartExpressionFile

Expression used while the collector is started file

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

Threshold

The threshold value

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

ValueType

The value type, default is value type money

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

Methods

EqualKey(ICollector)

Test for the same item key

Declaration
public virtual bool EqualKey(ICollector compare)
Parameters
Type Name Description
ICollector compare
Returns
Type Description
bool

Equals(ICollector)

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

GetUiString()

The object UI string

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

Implements

ICollector
IModel
IAttributeObject
IKeyEquatable<T>
IEquatable<T>
INameObject

Extension Methods

ScriptExtensions.HasAnyScript(Collector)
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