/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/Contexts/MessageBody.cs
28 строк
589 B
Chris Patterson
Massive file cleanup
27 мар 2024, 02:43
27 мар 2024, 02:43
2ac69e8
Код
Авторство
О чём код?
namespace MassTransit { using System.IO; public interface MessageBody { long? Length { get; } /// <summary> /// Return the message body as a stream /// </summary> /// <returns></returns> Stream GetStream(); /// <summary> /// Return the message body as a byte array /// </summary> /// <returns></returns> byte[] GetBytes(); /// <summary> /// Return the message body as a string /// </summary> /// <returns></returns> string GetString(); } }