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
originalJobType
JobType(string)
Represents type of a Job.
public JobType(string Value)
Parameters
ValuestringString 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
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(JobType?)
public virtual bool Equals(JobType? other)
Parameters
otherJobType
Returns
Equals(ConceptAs<string>?)
public override sealed bool Equals(ConceptAs<string>? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
Operators
operator ==(JobType?, JobType?)
public static bool operator ==(JobType? left, JobType? right)
Parameters
Returns
implicit operator JobType(string)
public static implicit operator JobType(string type)
Parameters
Returns
operator !=(JobType?, JobType?)
public static bool operator !=(JobType? left, JobType? right)