Пример #1
0
        public void EventAppeared(Core.Data.ResolvedEvent resolvedEvent, int?retryCount)
        {
            var @event = new PersistentSubscriptionResolvedEvent(resolvedEvent.OriginalPosition == null
                ? new ResolvedEvent(resolvedEvent.ConvertToClientResolvedIndexEvent())
                : new ResolvedEvent(resolvedEvent.ConvertToClientResolvedEvent()), retryCount);

            _eventAppeared(Subscription, @event);
        }
Пример #2
0
 public Task EventAppeared(Core.Data.ResolvedEvent resolvedEvent) =>
 _eventAppeared(Subscription, resolvedEvent.OriginalPosition == null
                         ? new ResolvedEvent(resolvedEvent.ConvertToClientResolvedIndexEvent())
                         : new ResolvedEvent(resolvedEvent.ConvertToClientResolvedEvent()));
 public void EventAppeared(Core.Data.ResolvedEvent resolvedEvent)
 {
     _eventAppeared(_subscription, new ResolvedEvent(resolvedEvent.ConvertToClientResolvedIndexEvent()));
 }