Trains and Junctions

The types a train library derives from and registers. The methods called inside Junctions() are under Train Methods; how a train runs is in Trains and Junctions.

Trax.Core

PageDescription
TrainTrain<TInput, TReturn>, the base class, with Run, RunEither, ExternalId and the chain methods
JunctionJunction<TIn, TOut> and IJunction<TIn, TOut>, one unit of work on the railway
IRouteIRoute<TIn, TOut>, the one-method contract every train implements
MonadTaskMonadTask<TInput, TReturn> and Monad<TInput, TReturn>, what a chain step returns
TrainExceptionTrainException, TrainExceptionData and FailureClass, how a failure is raised and recorded
Either and UnitEither<TLeft, TRight>, EitherStatus and Unit, the result type Junctions() returns
FunctionalExtensionsAssertLoaded and AssertEachLoaded, guards against unloaded EF navigations

Trax.Effect

PageDescription
ServiceTrainServiceTrain<TIn, TOut> and IServiceTrain<TIn, TOut>: metadata, effects, lifecycle hooks, container-built junctions
EffectJunctionEffectJunction<TIn, TOut>, a junction the junction effects observe
Route and Junction RegistrationAddScopedTraxRoute, AddTransientTraxRoute, AddSingletonTraxRoute and the *TraxJunction aliases