Search Results for

    Show / Hide Table of Contents

    Class ChaparBusOutboxExtensions

    Extension overloads for controlling EF outbox save behavior per outgoing message.

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

    Methods

    | Edit this page View Source

    PublishAsync<TEvent>(IChaparBus, TEvent, OutboxSaveMode, IDictionary<string, object>?, CancellationToken)

    Publishes an event with explicit EF outbox save behavior.

    Declaration
    public static Task PublishAsync<TEvent>(this IChaparBus bus, TEvent @event, OutboxSaveMode saveMode = OutboxSaveMode.Transactional, IDictionary<string, object>? headers = null, CancellationToken cancellationToken = default) where TEvent : class, IEvent
    Parameters
    Type Name Description
    IChaparBus bus
    TEvent event
    OutboxSaveMode saveMode
    IDictionary<string, object> headers
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    Type Parameters
    Name Description
    TEvent
    | Edit this page View Source

    SendAsync<TCommand>(IChaparBus, TCommand, string, OutboxSaveMode, IDictionary<string, object>?, CancellationToken)

    Sends a command with explicit EF outbox save behavior.

    Declaration
    public static Task SendAsync<TCommand>(this IChaparBus bus, TCommand command, string queueName, OutboxSaveMode saveMode = OutboxSaveMode.Transactional, IDictionary<string, object>? headers = null, CancellationToken cancellationToken = default) where TCommand : class, ICommand
    Parameters
    Type Name Description
    IChaparBus bus
    TCommand command
    string queueName
    OutboxSaveMode saveMode
    IDictionary<string, object> headers
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    Type Parameters
    Name Description
    TCommand
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026