コード例 #1
0
ファイル: Bus.cs プロジェクト: jsross/Autofac.EventBus
        public Bus(IEventFactory eventFactory,
                   ILifetimeScope currentScope,
                   ISubscriberRegistry registry)
        {
            _eventFactory = eventFactory;
            _currentScope = currentScope;
            _registry     = registry;

            _lockObject = new object();

            _eventQueue = new EventQueue(currentScope);
        }
コード例 #2
0
 public ConfigModule(params System.Reflection.Assembly[] assemblies)
 {
     _listenerRegistry = ListenerRegistryConfigurator.Configure(assemblies);
 }