Example #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>();
        }
Example #2
0
        public void ConfigureServices(IServiceCollection services)
        {
            TlsRptSchedulerCommonStartUp.ConfigureCommonServices(services);


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