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
OperationSucceeded
Indicates that the operation succeeded during the job execution.
public static readonly JobResult OperationSucceeded
Field Value
Methods
Equals(JobResult)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(JobResult other)
Parameters
otherJobResultAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand 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
Returns
- bool
trueif 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
Returns
- bool
trueif the two job results are not equal; otherwise,false.