Class CaseFieldSet
The case field including the slot and values
Implements
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class CaseFieldSet : CaseField, INameObject, ICaseFieldSet, ICaseField, IModel, IAttributeObject, IKeyEquatable<ICaseField>, IEquatable<ICaseField>, IEquatable<ICaseFieldSet>
Constructors
CaseFieldSet()
Initializes a new instance
Declaration
public CaseFieldSet()
CaseFieldSet(CaseField)
Initializes a new instance from a copy
Declaration
public CaseFieldSet(CaseField caseField)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseField | caseField |
CaseFieldSet(CaseFieldSet)
Initializes a new instance from a copy
Declaration
public CaseFieldSet(CaseFieldSet copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseFieldSet | copySource | The copy source |
Properties
CancellationDate
Cancellation date
Declaration
[JsonPropertyOrder(206)]
public DateTime? CancellationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
CaseSlot
The case slot
Declaration
[StringLength(128)]
[JsonPropertyOrder(201)]
public string CaseSlot { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CaseSlotLocalizations
The localized case slots
Declaration
[JsonPropertyOrder(202)]
public Dictionary<string, string> CaseSlotLocalizations { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
DisplayName
The case field display name
Declaration
[StringLength(128)]
[JsonPropertyOrder(200)]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
End
The ending date for the value
Declaration
[JsonPropertyOrder(205)]
public DateTime? End { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
HasValue
Test for existing value
Declaration
[JsonIgnore]
public bool HasValue { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Start
The starting date for the value
Declaration
[JsonPropertyOrder(204)]
public DateTime? Start { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Value
The case value (JSON format)
Declaration
[JsonPropertyOrder(203)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Equals(ICaseFieldSet)
Declaration
public virtual bool Equals(ICaseFieldSet compare)
Parameters
| Type | Name | Description |
|---|---|---|
| ICaseFieldSet | compare |
Returns
| Type | Description |
|---|---|
| bool |
GetValue(CultureInfo)
Get native value
Declaration
public virtual object GetValue(CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo | culture | The culture |
Returns
| Type | Description |
|---|---|
| object | The .net value |
SetValue(object)
Set native value
Declaration
public virtual void SetValue(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value |
ToString()
Returns a string that represents this instance
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance |