Show / Hide Table of Contents

Class Task

The payroll task object

Inheritance
object
ModelBase
Task
Implements
ITask
IModel
IAttributeObject
IEquatable<ITask>
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 Task : ModelBase, ITask, IModel, IAttributeObject, IEquatable<ITask>, INameObject

Constructors

Task()

Initializes a new instance

Declaration
public Task()

Task(Task)

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

Properties

Attributes

Custom attributes

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

Category

The task category

Declaration
[StringLength(128)]
[JsonPropertyOrder(102)]
public string Category { get; set; }
Property Value
Type Description
string

Completed

The task completed date

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

CompletedUserId

The completed user id

Declaration
[JsonPropertyOrder(107)]
public int? CompletedUserId { get; set; }
Property Value
Type Description
int?

CompletedUserIdentifier

The completed user identifier

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

Instruction

The task instruction

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

Name

The task name

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

NameLocalizations

The localized task names (immutable)

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

Scheduled

The task schedule date (immutable)

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

ScheduledUserId

The scheduled user id

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

ScheduledUserIdentifier

The scheduled user identifier

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

Methods

Equals(ITask)

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

GetUiString()

The object UI string

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

Implements

ITask
IModel
IAttributeObject
IEquatable<T>
INameObject

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