public ProductRepositoryAdapter( IScenarioDbContext dbContext, IProductRepository repository, IClock clock) : base(dbContext, repository) { _clock = clock; }
public ClashRepositoryAdapter(IScenarioDbContext dbContext, IClashRepository repository) : base(dbContext, repository) { Fixture.Customize <TimeAndDowAPI>(composer => composer .With(x => x.DaysOfWeek, () => new List <string> { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" })); }
public AutoBookDefaultParametersRepositoryAdapter( IScenarioDbContext dbContext, IAutoBookDefaultParametersRepository repository ) : base(dbContext, repository) { Fixture.Customizations.Add(new TypeRelay( typeof(IAutoBookDefaultParameters), typeof(AutoBookDefaultParameters))); }
public EventScenarioService(InMemoryTestHarness inMemoryTestHarness, IObjectContainer objectContainer, IScenarioDbContext scenarioDbContext, IServiceBus serviceBus, IGroupTransactionExecutionService groupTransactionExecutionService, ITestOutputHelper output) { _inMemoryTestHarness = inMemoryTestHarness; _objectContainer = objectContainer; _scenarioDbContext = scenarioDbContext; _serviceBus = serviceBus; _groupTransactionExecutionService = groupTransactionExecutionService; _output = output; }
public CampaignRepositoryAdapter(IScenarioDbContext dbContext, ICampaignRepository repository) : base(dbContext, repository) { Fixture.Customize <CampaignProgramme>(composer => composer .With(p => p.CategoryOrProgramme, Fixture.CreateMany <string>(3)) .With(p => p.SalesAreas, Fixture.CreateMany <string>(3)) ); Fixture.Customize <ProgrammeRestriction>(composer => composer .With(p => p.IsCategoryOrProgramme, CategoryOrProgrammeValues[_randomizer.Next(0, 2)]) .With(p => p.IsIncludeOrExclude, IncludeOrExcludeValues[_randomizer.Next(0, 2)])); Fixture.Customize <TimeRestriction>(composer => composer .With(p => p.IsIncludeOrExclude, IncludeOrExcludeValues[_randomizer.Next(0, 2)]) .With(p => p.DowPattern, new List <string> { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" })); Fixture.Customize <Timeslice>(composer => composer .With(p => p.FromTime, DateTime.UtcNow.ToString("HH:mm", CultureInfo.InvariantCulture)) .With(p => p.ToTime, DateTime.UtcNow.ToString("HH:mm", CultureInfo.InvariantCulture)) .With(p => p.DowPattern, new List <string> { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" })); }
public ClearanceRepositoryAdapter(IScenarioDbContext dbContext, IClearanceRepository repository) : base(dbContext, repository) { }
public AccessTokenRepositoryAdapter( IScenarioDbContext dbContext, IAccessTokensRepository repository ) : base(dbContext, repository) { }
public ResultsFileRepositoryAdapter(IScenarioDbContext dbContext, IResultsFileRepository repository, ResultsFileCoordinator resultsFileCoordinator) : base(dbContext, repository) { _resultsFileCoordinator = resultsFileCoordinator; }
public ScenarioCampaignMetricRepositoryAdapter(IScenarioDbContext dbContext, IScenarioCampaignMetricRepository repository) : base( dbContext, repository) { }
public AutoBookInstanceConfigurationRepositoryAdapter( IScenarioDbContext dbContext, IAutoBookInstanceConfigurationRepository repository ) : base(dbContext, repository) { }
public AutoBookRepositoryAdapter(IScenarioDbContext dbContext, IAutoBookRepository repository) : base(dbContext, repository) { }
public TotalRatingRepositoryAdapter(IScenarioDbContext dbContext, ITotalRatingRepository repository) : base( dbContext, repository) { }
public UserService(IScenarioDbContext dbContext) : base(dbContext) { }
public TenantsRepositoryAdapter( IScenarioDbContext dbContext, ITenantsRepository repository ) : base(dbContext, repository) { }
public UpdateDetailsRepositoryAdapter( IScenarioDbContext dbContext, IUpdateDetailsRepository repository ) : base(dbContext, repository) { }
public SalesAreaDemographicRepositoryAdapter(IScenarioDbContext dbContext, ISalesAreaDemographicRepository repository) : base(dbContext, repository) { }
public RSGlobalSettingsRepositoryAdapter(IScenarioDbContext dbContext, IRSGlobalSettingsRepository repository) : base(dbContext, repository) { }
public SpotPlacementRepositoryAdapter(IScenarioDbContext dbContext, ISpotPlacementRepository repository) : base(dbContext, repository) { }
public ProgrammeCategoryRepositoryAdapter(IScenarioDbContext dbContext, IProgrammeCategoryHierarchyRepository repository) : base(dbContext, repository) { }
public LegnthFactorRepositoryAdapter(IScenarioDbContext dbContext, ILengthFactorRepository repository) : base(dbContext, repository) { }
public UsersRepositoryAdapter(IScenarioDbContext dbContext, IUsersRepository repository) : base(dbContext, repository) { }
public ProgrammeRepositoryAdapter(IScenarioDbContext dbContext, IProgrammeRepository repository) : base(dbContext, repository) { }
public ISRSettingsRepositoryAdapter(IScenarioDbContext dbContext, IISRSettingsRepository repository) : base(dbContext, repository) { }
public ProjectService(IScenarioDbContext dbContext) : base(dbContext) { }
public StandardDayPartRepositoryAdapter(IScenarioDbContext dbContext, IStandardDayPartRepository repository) : base(dbContext, repository) { }
public IndexTypeRepositoryAdapter(IScenarioDbContext dbContext, IIndexTypeRepository repository) : base(dbContext, repository) { }
public FlexibilityLevelRepositoryAdapter(IScenarioDbContext dbContext, IFlexibilityLevelRepository repository) : base(dbContext, repository) { }
protected JsonTestDataImporter(IScenarioDbContext scenarioDbContext, IObjectContainer objectContainer) : base(scenarioDbContext) { _objectContainer = objectContainer; }
public BusinessTypeRepositoryAdapter(IScenarioDbContext dbContext, IBusinessTypeRepository repository) : base(dbContext, repository) { }
public ClashExceptionRepositoryAdapter(IScenarioDbContext dbContext, IClashExceptionRepository repository) : base(dbContext, repository) { }