protected override IEvent GetEvent(IEventProducingRequest request) { return(new EventA { SomeData = $"{nameof(SampleEventAProducingHandler)} invoked", RequestData = request.EventData }); }
protected override IEvent GetEvent(IEventProducingRequest request) { return(new EventI { SomeData = $"{nameof(SampleEventIProducingHandler)} invoked", RequestData = request.EventData, IgnoredProperty = "irrelevant data" }); }
protected override IEvent GetEvent(IEventProducingRequest request) { return(new EventJ { SomeData = $"{nameof(ScopeAwareRequestHandler)} invoked", RequestData = request.EventData, RequestScope = _scopeLitmus.Scope }); }
protected abstract IEvent GetEvent(IEventProducingRequest request);