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
| Page | Description |
|---|
| Train | Train<TInput, TReturn>, the base class, with Run, RunEither, ExternalId and the chain methods |
| Junction | Junction<TIn, TOut> and IJunction<TIn, TOut>, one unit of work on the railway |
| IRoute | IRoute<TIn, TOut>, the one-method contract every train implements |
| MonadTask | MonadTask<TInput, TReturn> and Monad<TInput, TReturn>, what a chain step returns |
| TrainException | TrainException, TrainExceptionData and FailureClass, how a failure is raised and recorded |
| Either and Unit | Either<TLeft, TRight>, EitherStatus and Unit, the result type Junctions() returns |
| FunctionalExtensions | AssertLoaded and AssertEachLoaded, guards against unloaded EF navigations |
Trax.Effect
| Page | Description |
|---|
| ServiceTrain | ServiceTrain<TIn, TOut> and IServiceTrain<TIn, TOut>: metadata, effects, lifecycle hooks, container-built junctions |
| EffectJunction | EffectJunction<TIn, TOut>, a junction the junction effects observe |
| Route and Junction Registration | AddScopedTraxRoute, AddTransientTraxRoute, AddSingletonTraxRoute and the *TraxJunction aliases |