コード例 #1
0
        private static IContainer ConfigureContainer()
        {
            var container = ApplicationBase.Initialize();

            container.ConfigureCassandra();
            container.ConfigureRemoteTaskQueueForConsumer <RtqConsumerSettings, RtqTaskHandlerRegistry>();
            container.Configurator.ForAbstraction <ITestTaskLogger>().UseType <TestTaskLogger>();
            container.Configurator.ForAbstraction <ITestCounterRepository>().UseType <TestCounterRepository>();
            return(container);
        }