private void OnPublished(ProductPublishedEvent @event) { this.Version = @event.Version; }
public IIntegrationMessage OnPublished(ProductPublishedEvent message) => new Integration.Events.ProductPublishedEvent { Product = MapProductDto(message.Source) };
private void OnPublished(ProductPublishedEvent @event) { this.Version = @event.Version; }