コード例 #1
0
 public GetOrganisationRegisterStatusHandler(IOrganisationRepository repository,
                                             ILogger <GetOrganisationRegisterStatusHandler> logger, IOrganisationValidator validator)
 {
     _repository = repository;
     _logger     = logger;
     _validator  = validator;
 }
コード例 #2
0
 public GetOrganisationHandler(IOrganisationRepository repository, ILogger <GetOrganisationHandler> logger,
                               IOrganisationValidator organisationValidator)
 {
     _organisationRepository = repository;
     _logger = logger;
     _organisationValidator = organisationValidator;
 }
 public UpdateOrganisationApplicationDeterminedDateHandler(ILogger <UpdateOrganisationApplicationDeterminedDateHandler> logger,
                                                           IOrganisationValidator validator, IUpdateOrganisationRepository updateOrganisationRepository, IAuditLogService auditLogService)
 {
     _logger    = logger;
     _validator = validator;
     _updateOrganisationRepository = updateOrganisationRepository;
     _auditLogService = auditLogService;
 }
 public UpdateOrganisationHandler(ILogger <UpdateOrganisationHandler> logger, IUpdateOrganisationRepository updateOrganisationRepository, IAuditLogService auditLogService, IOrganisationValidator organisationValidator, ITextSanitiser textSanitiser)
 {
     _logger = logger;
     _updateOrganisationRepository = updateOrganisationRepository;
     _auditLogService       = auditLogService;
     _organisationValidator = organisationValidator;
     _textSanitiser         = textSanitiser;
 }
 public UpdateOrganisationProviderTypeHandler(ILogger <UpdateOrganisationProviderTypeHandler> logger,
                                              IOrganisationValidator validator, IUpdateOrganisationRepository updateOrganisationRepository,
                                              IAuditLogService auditLogService)
 {
     _logger    = logger;
     _validator = validator;
     _updateOrganisationRepository = updateOrganisationRepository;
     _auditLogService = auditLogService;
 }
 public UpdateOrganisationLegalNameHandler(ILogger <UpdateOrganisationLegalNameHandler> logger,
                                           IOrganisationValidator validator, IUpdateOrganisationRepository updateOrganisationRepository,
                                           ITextSanitiser textSanitiser, IAuditLogService auditLogService)
 {
     _logger    = logger;
     _validator = validator;
     _updateOrganisationRepository = updateOrganisationRepository;
     _textSanitiser   = textSanitiser;
     _auditLogService = auditLogService;
 }
コード例 #7
0
 public OrganisationLogic(
     IOrganisationDatastore datastore,
     IHttpContextAccessor context,
     IOrganisationValidator validator,
     IOrganisationFilter filter
     ) :
     base(context)
 {
     _datastore = datastore;
     _validator = validator;
     _filter    = filter;
 }
コード例 #8
0
 public UpdateOrganisationStatusHandler(ILogger <UpdateOrganisationStatusHandler> logger,
                                        IOrganisationValidator validator, IUpdateOrganisationRepository updateOrganisationRepository,
                                        ILookupDataRepository lookupDataRepository, IOrganisationRepository organisationRepository,
                                        IAuditLogService auditLogService, IEventsRepository eventsRepository)
 {
     _logger    = logger;
     _validator = validator;
     _updateOrganisationRepository = updateOrganisationRepository;
     _lookupDataRepository         = lookupDataRepository;
     _organisationRepository       = organisationRepository;
     _auditLogService  = auditLogService;
     _eventsRepository = eventsRepository;
 }
 public CreateOrganisationHandler(ICreateOrganisationRepository repository, IEventsRepository eventsRepository,
                                  ILogger <CreateOrganisationHandler> logger, IOrganisationValidator organisationValidator,
                                  IProviderTypeValidator providerTypeValidator, IMapCreateOrganisationRequestToCommand mapper,
                                  ITextSanitiser textSanitiser)
 {
     _organisationRepository = repository;
     _eventsRepository       = eventsRepository;
     _logger = logger;
     _organisationValidator = organisationValidator;
     _providerTypeValidator = providerTypeValidator;
     _mapper        = mapper;
     _textSanitiser = textSanitiser;
 }
コード例 #10
0
 public CreateOrganisationService(IOrganisationRepository organisationRepository, IOrganisationValidator organisationValidator)
 {
     this.organisationRepository = organisationRepository ?? throw new ArgumentNullException(nameof(organisationRepository));
     this.organisationValidator  = organisationValidator ?? throw new ArgumentNullException(nameof(organisationValidator));
 }