Esempio n. 1
0
        public void ConfigureServices(IServiceCollection services)
        {
            TlsRptSchedulerCommonStartUp.ConfigureCommonServices(services);

            services
            .AddTransient <ITlsRptSchedulerConfig, TlsRptSchedulerConfig>()
            .AddTransient <IHandle <TlsRptEntityCreated>, TlsRptSchedulerHandler>()
            .AddTransient <IHandle <DomainDeleted>, TlsRptSchedulerHandler>()
            .AddTransient <ITlsRptSchedulerDao, TlsRptSchedulerDao>();
        }
Esempio n. 2
0
        public void ConfigureServices(IServiceCollection services)
        {
            TlsRptSchedulerCommonStartUp.ConfigureCommonServices(services);


            services
            .AddTransient <ITlsRptPeriodicSchedulerConfig, TlsRptPeriodicSchedulerConfig>()
            .AddTransient <IProcess, TlsRptPollSchedulerProcessor>()
            .AddTransient <ITlsRptPeriodicSchedulerDao, TlsRptPeriodicSchedulerDao>()
            .AddTransient <IMessagePublisher, SnsMessagePublisher>();
        }