⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

class StepperPriorityAttribute

An optional [StepperPriority] attribute for IStepper types that controls when and in what order their Step method is called relative to the app’s main Step callback.

The priority value determines both the phase and the sort order: ISteppers with a negative priority (or the default of 0) are stepped before the app’s main Step callback, and ISteppers with a positive priority are stepped after it. In all cases, ISteppers are stepped in ascending order of priority, and ties preserve the order they were added in.

If an IStepper type does not have this attribute, it behaves as though it has a priority of 0.

Instance Fields and Properties

   
int Priority The priority value for this IStepper. Negative or zero values step before the app’s main Step callback, positive values step after it, and all ISteppers are sorted in ascending order by this value.

Instance Methods

   
StepperPriorityAttribute Creates a priority attribute for an IStepper type.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!