Interface IPipelineProfileRegistry
Registry for managing pipeline profiles.
public interface IPipelineProfileRegistry
- Extension Methods
Methods
GetDefaultProfileName()
Gets the name of the default pipeline profile — the one selected when no profile is explicitly specified for a message.
string? GetDefaultProfileName()
Returns
- string
The configured default profile name (set via SetDefaultProfile(string)), or the built-in default profile when none has been configured, or null when no default exists.
GetProfile(string)
Gets a pipeline profile by name.
IPipelineProfile? GetProfile(string profileName)
Parameters
profileNamestringThe name of the profile to retrieve.
Returns
- IPipelineProfile
The pipeline profile, or null if not found.
GetProfileNames()
Gets all registered pipeline profile names.
IEnumerable<string> GetProfileNames()
Returns
- IEnumerable<string>
A collection of profile names.
RegisterProfile(IPipelineProfile)
Registers a pipeline profile.
void RegisterProfile(IPipelineProfile profile)
Parameters
profileIPipelineProfileThe profile to register.
RemoveProfile(string)
Removes a pipeline profile by name.
bool RemoveProfile(string profileName)
Parameters
profileNamestringThe name of the profile to remove.
Returns
- bool
True if the profile was removed, false if it was not found.
SetDefaultProfile(string)
Sets the default pipeline profile for message processing.
void SetDefaultProfile(string profileName)
Parameters
profileNamestringThe name of the profile to set as default.