Table of Contents

Struct JobResult

Namespace
Excalibur.Application.Requests.Jobs
Assembly
Excalibur.Application.dll

Represents the result of a job execution.

public readonly struct JobResult : IEquatable<JobResult>
Implements
Inherited Members

Fields

NoWorkPerformed

Indicates that no work was performed during the job execution.

public static readonly JobResult NoWorkPerformed

Field Value

JobResult

OperationSucceeded

Indicates that the operation succeeded during the job execution.

public static readonly JobResult OperationSucceeded

Field Value

JobResult

Methods

Equals(JobResult)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(JobResult other)

Parameters

other JobResult

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Operators

operator ==(JobResult, JobResult)

Determines whether two JobResult instances are equal.

public static bool operator ==(JobResult left, JobResult right)

Parameters

left JobResult

The first job result to compare.

right JobResult

The second job result to compare.

Returns

bool

true if the two job results are equal; otherwise, false .

operator !=(JobResult, JobResult)

Determines whether two JobResult instances are not equal.

public static bool operator !=(JobResult left, JobResult right)

Parameters

left JobResult

The first job result to compare.

right JobResult

The second job result to compare.

Returns

bool

true if the two job results are not equal; otherwise, false .