Ejemplo n.º 1
0
 public FakeSubscriber(IEventSubscriptionManagerService subscriptionManager)
 {
     subscriptionManager.subscribe<FakeEvent>(x =>
         {
             WasCalled = true;
             ReceivedEvent = x;
             CalledAt = DateTime.Now;
         }, null, null);
 }
Ejemplo n.º 2
0
 public FakeSubscriber(IEventSubscriptionManagerService subscriptionManager)
 {
     subscriptionManager.subscribe <FakeEvent>(x =>
     {
         WasCalled     = true;
         ReceivedEvent = x;
         CalledAt      = DateTime.Now;
     }, null, null);
 }
Ejemplo n.º 3
0
 public override void Context()
 {
     Event = new FakeEvent("yo", 12);
     SubscriptionManager = new EventSubscriptionManagerService();
 }
 public override void Context()
 {
     Event = new FakeEvent("yo", 12);
     SubscriptionManager = new EventSubscriptionManagerService();
 }