コード例 #1
0
ファイル: ConsumerIndex.cs プロジェクト: wedevth/polybus
        public ConsumerIndex(IEnumerable <IEventConsumer> consumers)
        {
            this.index = new Dictionary <string, ConsumerDescriptor>();

            IConsumerIndex.InitializeIndex(consumers, descriptor =>
            {
                this.index.Add(descriptor.EventDescriptor.FullName, descriptor);
            });
        }