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

            _delegateRepository = new DelegateRepository(settings);
        }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public UpdateDelegateCommandHandler(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
Exemplo n.º 4
0
 public TrainingService(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
Exemplo n.º 5
0
 public TrainingService(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
Exemplo n.º 6
0
 public DeleteUserMessageHandler(IDAppRepository dAppRepository, IDelegateRepository delegateRepository)
 {
     _dAppRepository     = dAppRepository;
     _delegateRepository = delegateRepository;
 }
Exemplo n.º 7
0
 public UpdateDelegateCommandHandler(IDelegateRepository delegateRepository)
 {
     this.delegateRepository = delegateRepository;
 }
 public DelegateService(IDelegateRepository delegateRepository, IJwtIdClaimReaderHelper jwtIdClaimReaderHelper)
 {
     _delegateRepository     = delegateRepository;
     _jwtIdClaimReaderHelper = jwtIdClaimReaderHelper;
 }