void TestEventBus() { IServiceProvider provider = this.ConfigureServices(); var eventBus = provider.GetRequiredService <IEventBus>(); eventBus.Subscribe <TestIntegrationEvent, IIntegrationEventHandler <TestIntegrationEvent> >(); var @event = new TestIntegrationEvent("²âÊÔʼþ"); eventBus.Publish(@event); }