public LayoutService( ILogParser logParser, IGameDataRepository gameDataRepository, IImageDataRepository imageDataRepository) { _logParser = logParser; _gameDataRepository = gameDataRepository; _imageDataRepository = imageDataRepository; _history = new History(); }
public ImageUploadService(IImageDataRepository imageRepository, IImageFileRepository imageFileRepository) { ImageRepository = imageRepository ?? throw new ArgumentNullException(nameof(imageRepository)); ImageFileRepository = imageFileRepository ?? throw new ArgumentNullException(nameof(imageFileRepository)); }
public ImageService(IImageDataRepository imageRepository, IImageFileRepository imageFileRepository, ILabelService labelService) { ImageRepository = imageRepository ?? throw new ArgumentNullException(nameof(imageRepository)); ImageFileRepository = imageFileRepository ?? throw new ArgumentNullException(nameof(imageFileRepository)); LabelService = labelService ?? throw new ArgumentNullException(nameof(labelService)); }
/// <summary> /// Initializes a new instance of the <see cref="CacheDevice" /> class. /// </summary> /// <param name="configManager">The configuration manager.</param> /// <param name="imageDataRepository">The image data repository.</param> public CacheDevice(IConfigManager configManager, IImageDataRepository imageDataRepository) { _configManager = configManager; _imageDataRepository = imageDataRepository; }
/// <summary> /// Prevents a default instance of the <see cref="ConfigManager"/> class from being created. /// </summary> public ConfigManager(IImageDataRepository imageDataRepository) { _imageDataRepository = imageDataRepository; Initialization = InitializeAsync(); }
/// <summary> /// Initializes a new instance of the <see cref="ImagesController" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="device">The device.</param> /// <param name="imageInfoProvider">The image information provider.</param> /// <param name="imageConversionProcessor">The image conversion processor.</param> public ImagesController(IImageDataRepository repository, IDevice device) { _imageDataRepository = repository; _device = device; }
public ImageController(IImageDataRepository imageDataRepository) { _imageDataRepository = imageDataRepository; }
public ImageLabelNavigationFileSystemRepository(IImageDataRepository imageRepository) { ImageRepository = imageRepository ?? throw new ArgumentNullException(nameof(imageRepository)); }