Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        private void Raise(IEvent @event)
        {
            var headers = new Dictionary <string, string>
            {
                ["Bucket"]   = Bucket,
                ["StreamId"] = StreamId
            };

            Stream.AddOutOfBand(@event, headers);
        }