Class DispatchCenterOptionInfo
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
originalDispatchCenterOptionInfo
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
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Option
The option.
public required DispatchCenterOption Option { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(DispatchCenterOptionInfo?)
public virtual bool Equals(DispatchCenterOptionInfo? other)
Parameters
otherDispatchCenterOptionInfo
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(DispatchCenterOptionInfo?, DispatchCenterOptionInfo?)
public static bool operator ==(DispatchCenterOptionInfo? left, DispatchCenterOptionInfo? right)
Parameters
leftDispatchCenterOptionInforightDispatchCenterOptionInfo
Returns
operator !=(DispatchCenterOptionInfo?, DispatchCenterOptionInfo?)
public static bool operator !=(DispatchCenterOptionInfo? left, DispatchCenterOptionInfo? right)
Parameters
leftDispatchCenterOptionInforightDispatchCenterOptionInfo