/// <summary>
 /// Initializes a new instance of the <see cref="UploadController"/> class.
 /// </summary>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="mediaQueueRepository">The media queue repository.</param>
 /// <param name="collectionRepository">The collection repository.</param>
 /// <param name="persistentCollection">The persistent collection.</param>
 public UploadController(IMediaRepository mediaRepository, 
     IMediaQueueRepository mediaQueueRepository,
     IPersistentCollectionRepository collectionRepository,
     IPersistentCollectionService persistentCollection)
 {
     _mediaQueueRepository = mediaQueueRepository;
     _persistentCollection = persistentCollection;
     _mediaRepository = mediaRepository;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UploadController"/> class.
 /// </summary>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="mediaQueueRepository">The media queue repository.</param>
 /// <param name="collectionRepository">The collection repository.</param>
 /// <param name="persistentCollection">The persistent collection.</param>
 public UploadController(IMediaRepository mediaRepository,
                         IMediaQueueRepository mediaQueueRepository,
                         IPersistentCollectionRepository collectionRepository,
                         IPersistentCollectionService persistentCollection)
 {
     _mediaQueueRepository = mediaQueueRepository;
     _persistentCollection = persistentCollection;
     _mediaRepository      = mediaRepository;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueFileService"/> class.
 /// </summary>
 /// <param name="mediaQueueRepository">The media queue repository.</param>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="mediaBatchService">The media batch service.</param>
 /// <param name="mediaFilenameService">The media filename service.</param>
 public QueueFileService(IMediaQueueRepository mediaQueueRepository,
                         IMediaRepository mediaRepository,
                         IMediaBatchService mediaBatchService, IMediaFilenameService mediaFilenameService)
 {
     _mediaQueueRepository = mediaQueueRepository;
     _mediaFilenameService = mediaFilenameService;
     _mediaBatchService    = mediaBatchService;
     _mediaRepository      = mediaRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueFileService"/> class.
 /// </summary>
 /// <param name="mediaQueueRepository">The media queue repository.</param>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="mediaBatchService">The media batch service.</param>
 /// <param name="mediaFilenameService">The media filename service.</param>
 public QueueFileService(IMediaQueueRepository mediaQueueRepository,
     IMediaRepository mediaRepository,
     IMediaBatchService mediaBatchService, IMediaFilenameService mediaFilenameService)
 {
     _mediaQueueRepository = mediaQueueRepository;
     _mediaFilenameService = mediaFilenameService;
     _mediaBatchService = mediaBatchService;
     _mediaRepository = mediaRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaBatchService"/> class.
 /// </summary>
 /// <param name="albumRepository">The album repository.</param>
 /// <param name="locationRepository">The location repository.</param>
 /// <param name="mediaQueueRepository">The media queue repository.</param>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="uploaderMediaRepository">The uploader media repository.</param>
 public MediaBatchService(IAlbumRepository albumRepository, 
     ILocationRepository locationRepository,
     IMediaQueueRepository mediaQueueRepository,
     IMediaRepository mediaRepository,
     IUploaderMediaRepository uploaderMediaRepository)
 {
     _albumRepository = albumRepository;
     _uploaderMediaRepository = uploaderMediaRepository;
     _mediaRepository = mediaRepository;
     _mediaQueueRepository = mediaQueueRepository;
     _locationRepository = locationRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaBatchService"/> class.
 /// </summary>
 /// <param name="albumRepository">The album repository.</param>
 /// <param name="locationRepository">The location repository.</param>
 /// <param name="mediaQueueRepository">The media queue repository.</param>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="uploaderMediaRepository">The uploader media repository.</param>
 public MediaBatchService(IAlbumRepository albumRepository,
                          ILocationRepository locationRepository,
                          IMediaQueueRepository mediaQueueRepository,
                          IMediaRepository mediaRepository,
                          IUploaderMediaRepository uploaderMediaRepository)
 {
     _albumRepository         = albumRepository;
     _uploaderMediaRepository = uploaderMediaRepository;
     _mediaRepository         = mediaRepository;
     _mediaQueueRepository    = mediaQueueRepository;
     _locationRepository      = locationRepository;
 }