Table of Contents

Interface IPipelineProfile

Namespace
Excalibur.Dispatch
Assembly
Excalibur.Dispatch.Abstractions.dll

Defines a reusable pipeline configuration profile that specifies which middleware to include and in what order for specific processing scenarios.

public interface IPipelineProfile
Extension Methods

Properties

Description

Gets the description of what this profile is designed for.

string Description { get; }

Property Value

string

A human-readable description of the profile intent.

IsStrict

Gets a value indicating whether this profile enforces strict ordering and validation.

bool IsStrict { get; }

Property Value

bool

true when middleware ordering is enforced; otherwise, false.

MiddlewareEntries

Gets the ordered list of middleware entries that compose this profile, each carrying whether the built pipeline may omit it.

IReadOnlyList<MiddlewareEntry> MiddlewareEntries { get; }

Property Value

IReadOnlyList<MiddlewareEntry>

The middleware entries that compose the profile.

Remarks

This is the profile's only middleware declaration. It deliberately replaces a bare type list rather than supplementing one: two collections describing the same middleware can disagree, and a consumer of the weaker one — such as a startup check confirming an authorization middleware is present — would then be reading a list the pipeline builder never consulted.

Name

Gets the unique name of this pipeline profile.

string Name { get; }

Property Value

string

The profile identifier used during pipeline selection.

SupportedMessageKinds

Gets the message kinds this profile is optimized for.

MessageKinds SupportedMessageKinds { get; }

Property Value

MessageKinds

The message kinds targeted by the profile.