1
0
mirror of synced 2024-11-14 17:33:49 +00:00
PettingZoo/PettingZoo.RabbitMQ/RabbitMQPropertiesExtensions.cs
Mark van Renswoude 2755e93440 Started major refactoring
- Upgrade to .NET 5
- Split functionality into libraries
- Tabbed interface for multiple subscribers
- Placeholder for publishing tab
2021-11-28 14:18:21 +01:00

15 lines
378 B
C#

using System.Collections.Generic;
namespace PettingZoo.RabbitMQ
{
public static class RabbitMQPropertiesExtensions
{
public static string ContentType(this IDictionary<string, string> properties)
{
return properties.TryGetValue(RabbitMQProperties.ContentType, out var value)
? value
: "";
}
}
}