public ApplicationPartByIdDataLoader( IApplicationStore applicationStore, IBatchScheduler batchScheduler) : base(batchScheduler) { _applicationStore = applicationStore; }
public ComponentByIdDataLoader( IComponentStore componentStore, IBatchScheduler batchScheduler) : base(batchScheduler) { _componentStore = componentStore; }
public ChangeLogByApplicationPartIdDataloader( IChangeLogStore store, IBatchScheduler batchScheduler, DataLoaderOptions?options = null) : base(batchScheduler, options) { _store = store; }
public MenuByIdDataLoader( IBatchScheduler batchScheduler, IDbContextFactory <ApplicationDbContext> dbContextFactory) : base(batchScheduler) { _dbContextFactory = dbContextFactory ?? throw new ArgumentNullException(nameof(dbContextFactory)); }
/// <summary> /// Default constructor /// </summary> /// <param name="configuration">The configuration instance settings</param> /// <param name="repository">The main TES task database repository implementation</param> /// <param name="batchScheduler">The batch scheduler implementation</param> /// <param name="logger">The logger instance</param> public Scheduler(IConfiguration configuration, IRepository <TesTask> repository, IBatchScheduler batchScheduler, ILogger <Scheduler> logger) { this.repository = repository; this.batchScheduler = batchScheduler; this.logger = logger; isDisabled = configuration.GetValue("DisableBatchScheduling", false); }
public ContactByIdDataLoader( IBatchScheduler batchScheduler, IDbContextFactory <ApplicationDbContext> dbContextFactory) : base(batchScheduler) { _dbContextFactory = dbContextFactory; }
public PropertyDataLoader( IBatchScheduler batchScheduler, IPropertyRepository propertyRepository) : base(batchScheduler) { _propertyRepository = propertyRepository; }
public CameraByIdDataLoader( IBatchScheduler batchScheduler, ICameraStore cameraStore) : base(batchScheduler) { _cameraStore = cameraStore; }
public MediaByIdDataLoader( IBatchScheduler batchScheduler, IMediaStore mediaStore) : base(batchScheduler) { _mediaStore = mediaStore; }
public PublishedApplicationPartByIdPartDataloader( IPublishingStore publishingStore, IBatchScheduler batchScheduler, DataLoaderOptions?options = null) : base(batchScheduler, options) { _publishingStore = publishingStore; }
public VariableByIdDataLoader( IVariableStore variableStore, IBatchScheduler batchScheduler) : base(batchScheduler) { _variableStore = variableStore; }
public DoctorByIdDataLoader( IBatchScheduler batchScheduler, AppDbContext context) : base(batchScheduler) { _context = context; }
public EnvironmentByIdDataLoader( IEnvironmentStore applicationStore, IBatchScheduler batchScheduler) : base(batchScheduler) { _applicationStore = applicationStore; }
public AuthorDataLoader( IBatchScheduler batchScheduler, IDbContextFactory <BookContext> contextFactory) : base(batchScheduler) { _contextFactory = contextFactory; }
public ThumbnailDataDataLoader( IBatchScheduler batchScheduler, IThumbnailBlobStore thumbnailBlobStore) : base(batchScheduler) { _thumbnailBlobStore = thumbnailBlobStore; }
public ConnectedServiceByIdDataLoader( IConnectedServiceManager connectedServiceManager, IBatchScheduler batchScheduler) : base(batchScheduler) { _connectedServiceManager = connectedServiceManager; }
public ThumbnailByMediaIdDataLoader( IBatchScheduler batchScheduler, IMediaStore mediaStore) : base(batchScheduler) { _mediaStore = mediaStore; }
public AnimalByIdDataLoader( IDbContextFactory <AnimalFarmDbContext> dbContextFactory, IBatchScheduler batchScheduler, DataLoaderOptions <int>?options = null) : base(dbContextFactory, batchScheduler, options) { }
public MaterialDataLoader( IBatchScheduler batchScheduler, IDbContextFactory <MyContext> contextFactory ) : base(batchScheduler) { _contextFactory = contextFactory; }
public MedicineByIdDataLoader( IBatchScheduler batchScheduler, AppDbContext context) : base(batchScheduler) { _context = context; }
public StitchingContext( IBatchScheduler batchScheduler, IRequestContextAccessor requestContextAccessor) { if (batchScheduler == null) { throw new ArgumentNullException(nameof(batchScheduler)); } if (requestContextAccessor == null) { throw new ArgumentNullException(nameof(requestContextAccessor)); } foreach (KeyValuePair <NameString, IRequestExecutor> executor in requestContextAccessor.RequestContext.Schema.GetRemoteExecutors()) { _executors.Add( executor.Key, new RemoteRequestExecutor( batchScheduler, executor.Value, requestContextAccessor)); } }
public AccountsByIdDataLoader( IBatchScheduler batchScheduler, IDbContextFactory <StorageContext> storageContext ) : base(batchScheduler) { this.storageContext = storageContext ?? throw new ArgumentNullException(nameof(storageContext)); }
public GroupsByPersonIdDataLoader( IBatchScheduler batchScheduler, IGroupService groupService) : base(batchScheduler) { _groupService = groupService; }
public PrescriptionByIdDataLoader( IBatchScheduler batchScheduler, AppDbContext context) : base(batchScheduler) { _context = context; }
public PersonByIdDataLoader( IBatchScheduler batchScheduler, IPersonService personService) : base(batchScheduler) { _personService = personService; }
/// <summary> /// Default constructor /// </summary> /// <param name="configuration">The configuration instance settings</param> /// <param name="repository">The main TES task database repository implementation</param> /// <param name="batchScheduler">The batch scheduler implementation</param> /// <param name="logger">The logger instance</param> public Scheduler(IConfiguration configuration, IRepository <TesTask> repository, IBatchScheduler batchScheduler, ILogger <Scheduler> logger) { this.repository = repository; this.batchScheduler = batchScheduler; this.logger = logger; isStopped = bool.TryParse(configuration["DisableBatchScheduling"], out var disableBatchScheduling) ? disableBatchScheduling : false; }
public ReviewsByBreweryIdDataLoader( IBatchScheduler batchScheduler, BreweryDbContext breweryDbContext) : base(batchScheduler) { _breweryDbContext = breweryDbContext ?? throw new ArgumentNullException(nameof(breweryDbContext)); }
public FetchBatchDataLoader( IBatchScheduler batchScheduler, FetchBatch <TKey, TValue> fetch) : base(batchScheduler) { _fetch = fetch ?? throw new ArgumentNullException(nameof(fetch)); }
public DataLoader( FetchDataDelegate <TKey, TValue> fetch, IBatchScheduler batchScheduler, DataLoaderOptions?options = null) : base(batchScheduler, options) { _fetch = fetch ?? throw new ArgumentNullException(nameof(fetch)); }
public TagsByIdBatchDataLoader( IDbContextFactory <QueryDbContext> contextFactory, IBatchScheduler batchScheduler, DataLoaderOptions <Guid> options = null) : base(batchScheduler, options) { _contextFactory = contextFactory; }