/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.MessagePack/NullableAttributes.cs
24 строки
806 B
Marcus Christensen
Add support for MessagePack serialization.
15 окт 2024, 16:49
15 окт 2024, 16:49
faeebdf
Код
Авторство
О чём код?
#if !NET6_0_OR_GREATER && !NETSTANDARD2_1 namespace System.Diagnostics.CodeAnalysis { using System; [AttributeUsage(AttributeTargets.Parameter)] sealed class NotNullWhenAttribute : Attribute { /// <summary>Initializes the attribute with the specified return value condition.</summary> /// <param name="returnValue"> /// The return value condition. If the method returns this value, the associated parameter will not be null. /// </param> public NotNullWhenAttribute(bool returnValue) { ReturnValue = returnValue; } /// <summary>Gets the return value condition.</summary> public bool ReturnValue { get; } } } #endif