/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/Configuration/Consumers/IConsumerMessageConfigurator.cs
25 строк
785 B
Chris Patterson
Integration of all external packages into MassTransit, split out into Abstractions, Middleware, and the core MassTransit assembly.
22 янв 2022, 18:24
22 янв 2022, 18:24
b5b4f50
Код
Авторство
О чём код?
namespace MassTransit { using System; public interface IConsumerMessageConfigurator<TMessage> : IPipeConfigurator<ConsumeContext<TMessage>> where TMessage : class { } public interface IConsumerMessageConfigurator<TConsumer, TMessage> : IPipeConfigurator<ConsumerConsumeContext<TConsumer, TMessage>> where TConsumer : class where TMessage : class { /// <summary> /// Add middleware to the consumer pipeline, for the specified message type, which is /// invoked after the consumer factory. /// </summary> /// <param name="configure">The callback to configure the message pipeline</param> void Message(Action<IConsumerMessageConfigurator<TMessage>> configure); } }