Mark van Renswoude
7389b5bf06
Added DataAnnotations to all examples. Implemented third example for Flow. Fixed a bug where Start would not give up it's flow lock.
17 lines
306 B
C#
17 lines
306 B
C#
using Tapeti.Annotations;
|
|
|
|
namespace Messaging.TapetiExample
|
|
{
|
|
[Request(Response = typeof(QuoteResponseMessage))]
|
|
public class QuoteRequestMessage
|
|
{
|
|
public int Amount { get; set; }
|
|
}
|
|
|
|
|
|
public class QuoteResponseMessage
|
|
{
|
|
public string Quote { get; set; }
|
|
}
|
|
}
|