1
0
mirror of synced 2024-07-03 09:00:36 +00:00
Tapeti/Messaging.TapetiExample/PublishSubscribeMessage.cs
Mark van Renswoude 7389b5bf06 [skip appveyor] #9 Documentation and examples
Added DataAnnotations to all examples.
Implemented third example for Flow. Fixed a bug where Start would not give up it's flow lock.
2019-08-16 11:47:57 +02:00

14 lines
386 B
C#

using System.ComponentModel.DataAnnotations;
namespace Messaging.TapetiExample
{
/// <summary>
/// Example of a simple broadcast message used in the standard publish - subscribe pattern
/// </summary>
public class PublishSubscribeMessage
{
[Required(ErrorMessage = "Don't be impolite, supply a {0}")]
public string Greeting { get; set; }
}
}