public DelegateRepositoryTests()
        {
            _mongoDbRunner = MongoDbRunner.Start();
            var settings = new MarketplaceDatabaseSettings
            {
                ConnectionString            = _mongoDbRunner.ConnectionString,
                DatabaseName                = "IntegrationTests",
                DelegateOfferCollectionName = "TestCollection"
            };

            _delegateRepository = new DelegateRepository(settings);
        }
Exemple #2
0
 internal ContainerContext(IRegistrationRepository registrationRepository, IDelegateRepository delegateRepository,
                           IStashboxContainer container, IResolutionStrategy resolutionStrategy, IContainerConfigurator containerConfigurator,
                           IDecoratorRepository decoratorRepository)
 {
     this.ResolutionStrategy     = resolutionStrategy;
     this.RegistrationRepository = registrationRepository;
     this.DelegateRepository     = delegateRepository;
     this.Container             = container;
     this.Bag                   = new ConcurrentKeyValueStore <object, object>();
     this.ContainerConfigurator = containerConfigurator;
     this.DecoratorRepository   = decoratorRepository;
 }
Exemple #3
0
 public UpdateDelegateCommandHandler(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
Exemple #4
0
 public TrainingService(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
Exemple #5
0
 public TrainingService(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
Exemple #6
0
 public DeleteUserMessageHandler(IDAppRepository dAppRepository, IDelegateRepository delegateRepository)
 {
     _dAppRepository     = dAppRepository;
     _delegateRepository = delegateRepository;
 }
Exemple #7
0
 public UpdateDelegateCommandHandler(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
 public DelegateService(IDelegateRepository delegateRepository, IJwtIdClaimReaderHelper jwtIdClaimReaderHelper)
 {
     _delegateRepository     = delegateRepository;
     _jwtIdClaimReaderHelper = jwtIdClaimReaderHelper;
 }