Class JobProgressMessage

Namespace
Cratis.Chronicle.Jobs
Assembly
Cratis.Chronicle.dll

Represents the message of a job progress.

public record JobProgressMessage : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<JobProgressMessage>
Inheritance
JobProgressMessage
Implements
Inherited Members
Extension Methods

Constructors

JobProgressMessage(JobProgressMessage)

protected JobProgressMessage(JobProgressMessage original)

Parameters

original JobProgressMessage

JobProgressMessage(string)

Represents the message of a job progress.

public JobProgressMessage(string Value)

Parameters

Value string

The inner value.

Fields

None

Represents an empty JobProgressMessage.

public static readonly JobProgressMessage None

Field Value

JobProgressMessage

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(JobProgressMessage?)

public virtual bool Equals(JobProgressMessage? other)

Parameters

other JobProgressMessage

Returns

bool

Equals(ConceptAs<string>?)

public override sealed bool Equals(ConceptAs<string>? other)

Parameters

other ConceptAs<string>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

Operators

operator ==(JobProgressMessage?, JobProgressMessage?)

public static bool operator ==(JobProgressMessage? left, JobProgressMessage? right)

Parameters

left JobProgressMessage
right JobProgressMessage

Returns

bool

implicit operator JobProgressMessage(string)

Implicitly convert from string to JobProgressMessage.

public static implicit operator JobProgressMessage(string value)

Parameters

value string

string value to convert.

Returns

JobProgressMessage

operator !=(JobProgressMessage?, JobProgressMessage?)

public static bool operator !=(JobProgressMessage? left, JobProgressMessage? right)

Parameters

left JobProgressMessage
right JobProgressMessage

Returns

bool