Table of Contents

Class RouteCheckContext

Namespace
EncDotNet.S100.Navigation
Assembly
EncDotNet.S100.Navigation.dll

What every check of one Check(PassagePlan, RouteCheckSettings, CancellationToken) run reads: the plan, settings, sources and options, and the track and schedule built once for all of them.

public sealed class RouteCheckContext
Inheritance
RouteCheckContext
Inherited Members

Constructors

RouteCheckContext(PassagePlan, RouteCheckSettings, RouteCheckSources, RouteCheckOptions?)

Builds the context for one run, with its track and schedule.

public RouteCheckContext(PassagePlan plan, RouteCheckSettings settings, RouteCheckSources sources, RouteCheckOptions? options = null)

Parameters

plan PassagePlan

The plan to check.

settings RouteCheckSettings

The settings for this run.

sources RouteCheckSources

The loaded data.

options RouteCheckOptions

Tuning, or null for Default.

Exceptions

ArgumentException

A leg has fewer than two points, or a negative or non-finite speed.

Properties

Options

The tuning.

public RouteCheckOptions Options { get; }

Property Value

RouteCheckOptions

Plan

The plan to check.

public PassagePlan Plan { get; }

Property Value

PassagePlan

Schedule

The plan's ETAs. Where a leg has none, the time is the plan's departure, or At without one.

public PassageSchedule Schedule { get; }

Property Value

PassageSchedule

Settings

The settings for this run.

public RouteCheckSettings Settings { get; }

Property Value

RouteCheckSettings

Sources

The loaded data.

public RouteCheckSources Sources { get; }

Property Value

RouteCheckSources

Track

The plan's track, shared by every check.

public RouteTrack Track { get; }

Property Value

RouteTrack