Table of Contents

Class OperationInfo

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll
public record OperationInfo : IOperationInfo, IEquatable<OperationInfo>
Inheritance
OperationInfo
Implements
Inherited Members
Extension Methods

Constructors

OperationInfo()

public OperationInfo()

OperationInfo(OperationInfo)

protected OperationInfo(OperationInfo original)

Parameters

original OperationInfo

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Id

public Guid Id { get; init; }

Property Value

Guid

Keywords

Gets or sets the collection of keywords associated with the operation.

public IEnumerable<IKeyword> Keywords { get; set; }

Property Value

IEnumerable<IKeyword>

Location

Gets or sets the location of the operation.

public IGeoReferenced? Location { get; set; }

Property Value

IGeoReferenced

NumberExternal

Gets or sets the external operation number.

public string? NumberExternal { get; set; }

Property Value

string

NumberInternal

Gets or sets the internal operation number.

public string? NumberInternal { get; set; }

Property Value

string

Priority

Gets or sets the priority of the operation.

public OperationPriority Priority { get; set; }

Property Value

OperationPriority

Status

Gets or sets the current status of the operation.

public OperationStatus Status { get; set; }

Property Value

OperationStatus

Methods

CreateInstance(IOperation)

public static IOperationInfo CreateInstance(IOperation operation)

Parameters

operation IOperation

Returns

IOperationInfo

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(OperationInfo?)

public virtual bool Equals(OperationInfo? other)

Parameters

other OperationInfo

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(OperationInfo?, OperationInfo?)

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

Parameters

left OperationInfo
right OperationInfo

Returns

bool

operator !=(OperationInfo?, OperationInfo?)

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

Parameters

left OperationInfo
right OperationInfo

Returns

bool