private void Raise(IEvent @event, IDictionary <string, string> metadata = null) { // Todo: Fill with user headers or something var headers = new Dictionary <string, string>(); Stream.AddOutOfBand(@event, metadata); }
private void Raise(IEvent @event) { var headers = new Dictionary <string, string> { ["Bucket"] = Bucket, ["StreamId"] = StreamId }; Stream.AddOutOfBand(@event, headers); }