Beispiel #1
0
 public CustomTagServiceTests()
 {
     _reindexJob = Substitute.For <IReindexJob>();
     _customTagEntryValidator = Substitute.For <ICustomTagEntryValidator>();
     _customTagStore          = Substitute.For <ICustomTagStore>();
     _customTagService        = new CustomTagService(_customTagStore, _reindexJob, _customTagEntryValidator, NullLogger <CustomTagService> .Instance);
 }
 public CorporateAccountController(IEventService eventService, ISessionContext sessionContext, ISettings settings, ICorporateCustomerCustomTagRepository corporateCustomerCustomTagRepository,
                                   ILogManager logManager, ICustomTagService customTagService, ICorporateAccountService corporateAccountService)
 {
     _pageSize       = settings.DefaultPageSizeForReports;
     _eventService   = eventService;
     _sessionContext = sessionContext;
     _corporateCustomerCustomTagRepository = corporateCustomerCustomTagRepository;
     _logger                  = logManager.GetLogger <CorporateAccountController>();
     _customTagService        = customTagService;
     _corporateAccountService = corporateAccountService;
 }
Beispiel #3
0
 public AddCustomTagHandler(ICustomTagService customTagService)
 {
     EnsureArg.IsNotNull(customTagService, nameof(customTagService));
     _customTagService = customTagService;
 }