Example #1
0
 public BasketService(IBasketStore basketStore, IItemStore itemStore, IGuidWrapper guidWrapper, IBasketMapper basketMapper)
 {
     _basketStore  = basketStore;
     _itemStore    = itemStore;
     _guidWrapper  = guidWrapper;
     _basketMapper = basketMapper;
 }
Example #2
0
 protected AggregatorBase(IRepositoryFactory repositoryFactory, IStatEntityFactory statEntityFactory, IGuidWrapper guid, IDateTimeWrapper dateTime)
 {
     RepositoryFactory = repositoryFactory;
     StatEntityFactory = statEntityFactory;
     GuidWraper = guid;
     DateTimeWrapper = dateTime;
 }
Example #3
0
 public UserService(IGuidWrapper guidWrapper, IDateTimeWrapper dateTimeWrapper, IStore <User> userStore, IUserQuery userQuery)
 {
     _guidWrapper     = guidWrapper;
     _dateTimeWrapper = dateTimeWrapper;
     _userStore       = userStore;
     _userQuery       = userQuery;
 }
Example #4
0
 protected AggregatorBase(IRepositoryFactory repositoryFactory, IStatEntityFactory statEntityFactory, IGuidWrapper guid, IDateTimeWrapper dateTime)
 {
     RepositoryFactory = repositoryFactory;
     StatEntityFactory = statEntityFactory;
     GuidWraper        = guid;
     DateTimeWrapper   = dateTime;
 }
 public StatWatchingService(
     IRepositoryFactory repositoryFactory,
     IStatEntityFactory statEntityFactory,
     IGuidWrapper guid,
     IDateTimeWrapper dateTime)
     : base(repositoryFactory, statEntityFactory, guid, dateTime)
 {
 }
 public StatUserRegistrationService(
     IRepositoryFactory repositoryFactory,
     IStatEntityFactory statEntityFactory,
     IGuidWrapper guid,
     IDateTimeWrapper dateTime)
     : base(repositoryFactory, statEntityFactory, guid, dateTime)
 {
 }
Example #7
0
 public StatUserRegistrationService(
     IRepositoryFactory repositoryFactory,
     IStatEntityFactory statEntityFactory,
     IGuidWrapper guid,
     IDateTimeWrapper dateTime)
     : base(repositoryFactory, statEntityFactory, guid, dateTime)
 {
 }
 public StatProjectUploadingService(
     IRepositoryFactory repositoryFactory,
     IStatEntityFactory statEntityFactory,
     IGuidWrapper guid,
     IDateTimeWrapper dateTime)
     : base(repositoryFactory, statEntityFactory, guid, dateTime)
 {
 }
 public StatProjectDeletionService(
     IRepositoryFactory repositoryFactory,
     IStatEntityFactory statEntityFactory,
     IGuidWrapper guid,
     IDateTimeWrapper dateTime)
     : base(repositoryFactory, statEntityFactory, guid, dateTime)
 {
 }
Example #10
0
        public void SetUp()
        {
            _dateTimeWrapper = Substitute.For <IDateTimeWrapper>();
            _guidWrapper     = Substitute.For <IGuidWrapper>();
            _itemRepository  = Substitute.For <IItemRepository>();

            _itemCreatingService = new ItemCreatingService(_itemRepository, _dateTimeWrapper, _guidWrapper);
        }
Example #11
0
 public LocalPathProvider(
     string appEnvironmentPath,
     IPathWrapper pathWrapper,
     IGuidWrapper guidWrapper)
 {
     _guidWrapper        = guidWrapper;
     _pathWrapper        = pathWrapper;
     _appEnvironmentPath = appEnvironmentPath;
 }
Example #12
0
 public ItemCreatingService(IItemRepository repository, IDateTimeWrapper dateTimeWrapper, IGuidWrapper guidWrapper)
 {
     _repository      = repository;
     _dateTimeWrapper = dateTimeWrapper;
     _guidWrapper     = guidWrapper;
 }
 public TableValueConverter(IGuidWrapper guidWrapper)
 {
     _guidWrapper = guidWrapper;
 }
 public LocalPathProviderBuilder()
 {
     _pathMock    = Substitute.For <IPathWrapper>();
     _guidMock    = Substitute.For <IGuidWrapper>();
     _webRootPath = "testWebRoot";
 }
 public TableValueConverter(IGuidWrapper guidWrapper)
 {
     _guidWrapper = guidWrapper;
 }
Example #16
0
 public CreationService(IDateWrapper dateWrapper, INotesRepository repository, IGuidWrapper guidWrapper)
 {
     _dateWrapper = dateWrapper;
     _repository  = repository;
     _guidWrapper = guidWrapper;
 }
Example #17
0
 public void SetUp()
 => _guidWrapper = new GuidWrapper();