public LoginController(
     IConfiguration configuration,
     IRetrieveService <User> userRetrieveService
     )
 {
     this._UserRetrieveService = userRetrieveService;
     this._Configuration       = configuration;
 }
 public SpeiResponseWriteService(
     IWriteRepository <SpeiResponse> repository,
     IRetrieveService <SpeiResponse> speiResponseRetrieveService,
     IProcessService <ordenPagoWS> ordenPagoProcessService
     ) : base(repository)
 {
     this._SpeiResponseRetrieveService = speiResponseRetrieveService;
     this._OrdenPagoProcessService     = ordenPagoProcessService;
 }
 public UserWriteService(
     IWriteRepository <User> repository,
     IRetrieveService <User> userRetrieveService,
     IProcessService <User> userProcessService
     ) : base(repository)
 {
     this._UserRetrieveService = userRetrieveService;
     this._UserProcessService  = userProcessService;
 }
        public DataProvider(ISessionFactory sessionFactory, INotifier notifier, IRetrieveService retrieveService,
                            ISendService sendService, ICurrentDateTimeProvider currentDateTimeProvider, bool enabled, string accountNumber, int dayOfMonthToSend)
        {
            if (sessionFactory == null)
            {
                throw new ArgumentNullException(nameof(sessionFactory));
            }

            if (notifier == null)
            {
                throw new ArgumentNullException(nameof(notifier));
            }

            if (retrieveService == null)
            {
                throw new ArgumentNullException(nameof(retrieveService));
            }

            if (sendService == null)
            {
                throw new ArgumentNullException(nameof(sendService));
            }

            if (currentDateTimeProvider == null)
            {
                throw new ArgumentNullException(nameof(currentDateTimeProvider));
            }

            if (accountNumber == null)
            {
                throw new ArgumentNullException(nameof(accountNumber));
            }

            _Enabled                 = enabled;
            _AccountNumber           = accountNumber;
            _RetrieveService         = retrieveService;
            _Notifier                = notifier;
            _SendService             = sendService;
            _CurrentDateTimeProvider = currentDateTimeProvider;
            _SessionFactory          = sessionFactory;
            _DayOfMonthToSend        = dayOfMonthToSend;
        }
Exemple #5
0
 static void GenerateInstances(IServiceProvider serviceProvider)
 {
     _NotificationsMessageHandler = serviceProvider.GetService <NotificationsMessageHandler>();
     _UserRetrieveService         = serviceProvider.GetService <IRetrieveService <User> >();
 }
 public UserProcessService(
     IRetrieveService <User> userRetrieveService
     )
 {
     this._UserRetrieveService = userRetrieveService;
 }
Exemple #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileDiffController"/> class.
 /// </summary>
 /// <param name="diffService">The difference service.</param>
 /// <param name="retrieveService">The retrieve service.</param>
 /// <param name="uploadService">The upload service.</param>
 public FileDiffController(IDiffService diffService, IRetrieveService retrieveService, IUploadService uploadService)
 {
     _diffService     = diffService;
     _uploadService   = uploadService;
     _retrieveService = retrieveService;
 }