Synchronous Events
Synchronous event handling in RCommon.
Overview
Implementation
using RCommon.EventHandling;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Examples.Messaging.MassTransit
{
public class TestEvent : ISyncEvent
{
public TestEvent(DateTime dateTime, Guid guid)
{
DateTime = dateTime;
Guid = guid;
}
public TestEvent()
{
}
public DateTime DateTime { get; }
public Guid Guid { get; }
}
}
Last updated