Class JobType

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

Represents type of a Job.

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

Remarks

The expected format is Namespace.Type.

Constructors

JobType(JobType)

protected JobType(JobType original)

Parameters

original JobType

JobType(string)

Represents type of a Job.

public JobType(string Value)

Parameters

Value string

String representation of the job type.

Remarks

The expected format is Namespace.Type.

Fields

NotSet

The JobType for when it is not set.

public static readonly JobType NotSet

Field Value

JobType

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(JobType?)

public virtual bool Equals(JobType? other)

Parameters

other JobType

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 ==(JobType?, JobType?)

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

Parameters

left JobType
right JobType

Returns

bool

implicit operator JobType(string)

Implicitly convert from string to JobType.

public static implicit operator JobType(string type)

Parameters

type string

Type to convert from.

Returns

JobType

operator !=(JobType?, JobType?)

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

Parameters

left JobType
right JobType

Returns

bool