Search Results for

    Show / Hide Table of Contents

    Class ChaparPipelineExtensions

    Inheritance
    object
    ChaparPipelineExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Chapar.Pipeline.Extensions
    Assembly: Chapar.Pipeline.dll
    Syntax
    public static class ChaparPipelineExtensions

    Methods

    | Edit this page View Source

    AddChaparPipeline(IServiceCollection)

    Adds the Chapar pipeline infrastructure to the service collection by decorating all registered IMessageHandler<TMessage> with the registered IPipelineBehavior<TMessage>.

    Declaration
    public static IServiceCollection AddChaparPipeline(this IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services
    Returns
    Type Description
    IServiceCollection
    | Edit this page View Source

    AddChaparPipelineBehavior(IServiceCollection, Type)

    Registers an open‑generic pipeline behaviour that will be applied to all message types. The behaviour type must be an open generic class that implements IPipelineBehavior<TMessage>.

    Declaration
    public static IServiceCollection AddChaparPipelineBehavior(this IServiceCollection services, Type openGenericBehaviorType)
    Parameters
    Type Name Description
    IServiceCollection services

    The IServiceCollection.

    Type openGenericBehaviorType

    The open generic type of the behaviour, e.g. typeof(FluentValidationBehaviour<>).

    Returns
    Type Description
    IServiceCollection
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026