public DelegateRepositoryTests() { _mongoDbRunner = MongoDbRunner.Start(); var settings = new MarketplaceDatabaseSettings { ConnectionString = _mongoDbRunner.ConnectionString, DatabaseName = "IntegrationTests", DelegateOfferCollectionName = "TestCollection" }; _delegateRepository = new DelegateRepository(settings); }
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; }
public UpdateDelegateCommandHandler(IDelegateRepository delegateRepository) { this.delegateRepository = delegateRepository; }
public TrainingService(IDelegateRepository delegateRepository) { this.delegateRepository = delegateRepository; }
public DeleteUserMessageHandler(IDAppRepository dAppRepository, IDelegateRepository delegateRepository) { _dAppRepository = dAppRepository; _delegateRepository = delegateRepository; }
public DelegateService(IDelegateRepository delegateRepository, IJwtIdClaimReaderHelper jwtIdClaimReaderHelper) { _delegateRepository = delegateRepository; _jwtIdClaimReaderHelper = jwtIdClaimReaderHelper; }