Esempio n. 1
0
            protected override async Task OnStart(IBusSession session)
            {
                foreach (var eventType in eventsToSubscribe)
                {
                    await session.Subscribe(eventType).ConfigureAwait(false);

                    Logger.DebugFormat("Auto subscribed to event {0}", eventType);
                }
            }