/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/SagaStateMachine/EventCorrelation.cs
41 строка
1 KB
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 EventCorrelation : ISpecification { /// <summary> /// The data type for the event /// </summary> Type DataType { get; } bool ConfigureConsumeTopology { get; } } public interface EventCorrelation<TInstance, TData> : EventCorrelation where TInstance : class, SagaStateMachineInstance where TData : class { Event<TData> Event { get; } /// <summary> /// Returns the saga policy for the event correlation /// </summary> /// <value></value> ISagaPolicy<TInstance, TData> Policy { get; } /// <summary> /// The filter factory creates the filter when requested by the connector /// </summary> SagaFilterFactory<TInstance, TData> FilterFactory { get; } /// <summary> /// The message filter which extracts the correlationId from the message /// </summary> IFilter<ConsumeContext<TData>> MessageFilter { get; } } }