Table of Contents

Interface IOperationTask

Namespace
XENBIT.ResQueServe.Abstractions.Interfaces
Assembly
RQS.Abstractions.dll

Represents a task associated with an operation.

public interface IOperationTask
Extension Methods

Properties

CanExecuteManually

Gets whether a dispatcher may execute the task now (computed): manual tasks that may run several times, and manual-once tasks that have not run yet.

bool CanExecuteManually { get; }

Property Value

bool

CreatedOn

Gets or sets when the task was created.

DateTimeOffset CreatedOn { get; init; }

Property Value

DateTimeOffset

Id

Guid Id { get; init; }

Property Value

Guid

IsOpen

Gets whether the task is still to do (computed): it has not completed and is not queued or running.

bool IsOpen { get; }

Property Value

bool

LastCompletedBy

Gets or sets information about the user who last completed the task.

IUserInfo? LastCompletedBy { get; set; }

Property Value

IUserInfo

LastCompletedOn

Gets or sets the date and time the task was last completed.

DateTimeOffset? LastCompletedOn { get; set; }

Property Value

DateTimeOffset?

MatchUnitId

long? MatchUnitId { get; set; }

Property Value

long?

Notes

Gets or sets notes related to the task.

string? Notes { get; set; }

Property Value

string

OperationId

Guid OperationId { get; init; }

Property Value

Guid

SessionId

long SessionId { get; }

Property Value

long

Status

Gets or sets the status of the task.

TaskStatus Status { get; set; }

Property Value

TaskStatus

Template

Gets or sets the task template used to create this task.

ITaskTemplate Template { get; }

Property Value

ITaskTemplate