Table of Contents

Interface IRouteCheck<TDetail>

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

A check whose outcome carries its own typed result, such as ChartCheck with its ChartCheckResult, so a caller that runs it directly reads the result without a cast.

public interface IRouteCheck<TDetail> : IRouteCheck where TDetail : class

Type Parameters

TDetail

The check's own result.

Inherited Members

Methods

Run(RouteCheckContext, CancellationToken)

Runs the check.

RouteCheckOutcome<TDetail> Run(RouteCheckContext context, CancellationToken cancellationToken)

Parameters

context RouteCheckContext

The plan, settings, sources and shared track.

cancellationToken CancellationToken

Cancels the check.

Returns

RouteCheckOutcome<TDetail>

The findings and the check's own result, or why the check was skipped.