/Source/Bifrost.Specs/Events/for_EventSubscriptionManager/SomeEventSubscriber.cs

# · C# · 13 lines · 12 code · 1 blank · 0 comment · 0 complexity · 0a467198c77b7f623a30d6ec55620318 MD5 · raw file

  1. using Bifrost.Events;
  2. namespace Bifrost.Specs.Events.for_EventSubscriptionManager
  3. {
  4. public class SomeEventSubscriber : IEventSubscriber
  5. {
  6. public bool ProcessCalled = false;
  7. public void Process(SomeEvent @event)
  8. {
  9. ProcessCalled = true;
  10. }
  11. }
  12. }