NServiceBus by Particular Software

<PackageReference Include="NServiceBus" Version="8.0.0" />

.NET API 1,076,224 bytes

 RegisterStep

public abstract class RegisterStep
Base class to do an advance registration of a step.
public Type BehaviorType { get; }

Gets the type of Behavior<T> that is being registered.

public string Description { get; }

Gets the description for this registration.

public string StepId { get; }

Gets the unique identifier for this step.

protected RegisterStep(string stepId, Type behavior, string description, Func<IServiceProvider, IBehavior> factoryMethod = null)

Initializes a new instance of the RegisterStep class.

public void InsertAfter(string id)

Instructs the pipeline to register this step after the id one.

public void InsertAfterIfExists(string id)

Instructs the pipeline to register this step after the id one. If the id does not exist, this condition is ignored.

public void InsertBefore(string id)

Instructs the pipeline to register this step before the id one.

public void InsertBeforeIfExists(string id)

Instructs the pipeline to register this step before the id one. If the id does not exist, this condition is ignored.