Table of Contents

Class DispatchCenterOptionInfo

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll

A dispatch center option with the context it belongs to (real-world or simulation).

public record DispatchCenterOptionInfo : IEquatable<DispatchCenterOptionInfo>
Inheritance
DispatchCenterOptionInfo
Implements
Inherited Members
Extension Methods

Constructors

DispatchCenterOptionInfo()

public DispatchCenterOptionInfo()

DispatchCenterOptionInfo(DispatchCenterOptionInfo)

[SetsRequiredMembers]
protected DispatchCenterOptionInfo(DispatchCenterOptionInfo original)

Parameters

original DispatchCenterOptionInfo

Properties

Context

The context of the option: Simulation options only apply to a simulation, Real options only to a real-world environment.

public required SettingContext Context { get; init; }

Property Value

SettingContext

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Option

The option.

public required DispatchCenterOption Option { get; init; }

Property Value

DispatchCenterOption

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(DispatchCenterOptionInfo?)

public virtual bool Equals(DispatchCenterOptionInfo? other)

Parameters

other DispatchCenterOptionInfo

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

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

Parameters

left DispatchCenterOptionInfo
right DispatchCenterOptionInfo

Returns

bool

operator !=(DispatchCenterOptionInfo?, DispatchCenterOptionInfo?)

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

Parameters

left DispatchCenterOptionInfo
right DispatchCenterOptionInfo

Returns

bool