/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/MessageData/MessageData.cs
23 строки
861 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.Threading.Tasks; /// <summary> /// MessageData is used when a property size may be larger than what should be sent via the message /// transport. This would includes attachments such as images, documents, videos, etc. Using MessageData, /// it is possible to include large properties without sending them in the actual message. The claim check /// pattern is the common reference. /// </summary> /// <typeparam name="T"> /// The type used to access the message data, valid types include stream, string, and byte[]. /// </typeparam> public interface MessageData<T> : IMessageData { /// <summary> /// The property value, which may be loaded asynchronously from the message data repository. /// </summary> Task<T> Value { get; } } }