Class NavigationalWarningState
A navigational warning's status at a time, and why.
public sealed record NavigationalWarningState : IEquatable<NavigationalWarningState>
- Inheritance
-
NavigationalWarningState
- Implements
- Inherited Members
Constructors
NavigationalWarningState(NavigationalWarningStatus, NavigationalWarningStatusReason, NavigationalWarningInfo?)
A navigational warning's status at a time, and why.
public NavigationalWarningState(NavigationalWarningStatus Status, NavigationalWarningStatusReason Reason, NavigationalWarningInfo? By = null)
Parameters
StatusNavigationalWarningStatusWhether the warning applies.
ReasonNavigationalWarningStatusReasonWhy; None while in force.
ByNavigationalWarningInfoThe warning that ended it: the cancelling warning, or the in-force bulletin that leaves it out or replaces it.
nullfor the other reasons.
Properties
By
The warning that ended it: the cancelling warning, or the in-force
bulletin that leaves it out or replaces it. null for the other reasons.
public NavigationalWarningInfo? By { get; init; }
Property Value
InForce
In force.
public static NavigationalWarningState InForce { get; }
Property Value
IsWithdrawn
Whether another warning ended it: a cancellation, or an in-force bulletin.
public bool IsWithdrawn { get; }
Property Value
Reason
Why; None while in force.
public NavigationalWarningStatusReason Reason { get; init; }
Property Value
Status
Whether the warning applies.
public NavigationalWarningStatus Status { get; init; }