Exemplo n.º 1
0
 public CreatePieceCommand(
     IPieceRepositoryFacade repository,
     IDateService dateService,
     IPieceFactory pieceFactory,
     IArtistFactory artistFactory,
     IMediumFactory mediumFactory,
     IGenreFactory genreFactory,
     ISubgenreFactory subgenreFactory,
     ISubjectMatterFactory subjectMatterFactory,
     IAcquisitionFactory acquisitionFactory,
     IFundingSourceFactory fundingSourceFactory,
     IPieceSourceFactory pieceSourceFactory,
     ILocationFactory locationFactory,
     ICollectionFactory collectionFactory,
     IUnitOfWork unitOfWork)
 {
     this.repository           = repository;
     this.dateService          = dateService;
     this.pieceFactory         = pieceFactory;
     this.artistFactory        = artistFactory;
     this.mediumFactory        = mediumFactory;
     this.genreFactory         = genreFactory;
     this.subgenreFactory      = subgenreFactory;
     this.subjectMatterFactory = subjectMatterFactory;
     this.acquisitionFactory   = acquisitionFactory;
     this.fundingSourceFactory = fundingSourceFactory;
     this.pieceSourceFactory   = pieceSourceFactory;
     this.locationFactory      = locationFactory;
     this.collectionFactory    = collectionFactory;
     this.unitOfWork           = unitOfWork;
 }
Exemplo n.º 2
0
 public MainViewModel(IViewService viewService, ISearchService searchService, IArtistFactory artistFactory, IArtistService artistService)
 {
     _viewService    = viewService;
     _searchService  = searchService;
     _artistFactory  = artistFactory;
     _artistService  = artistService;
     _searchCriteria = new SearchCriteria();
 }
Exemplo n.º 3
0
 public PluginBase(IRoadieSettings configuration, IHttpEncoder httpEncoder, IArtistFactory artistFactory, IReleaseFactory releaseFactory, IImageFactory imageFactory, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IReleaseLookupEngine releaseLookupEngine)
 {
     this.Configuration       = configuration;
     this.HttpEncoder         = httpEncoder;
     this.ArtistFactory       = artistFactory;
     this.ReleaseFactory      = releaseFactory;
     this.ImageFactory        = imageFactory;
     this.CacheManager        = cacheManager;
     this.Logger              = logger;
     this.ArtistLookupEngine  = artistLookupEngine;
     this.ReleaseLookupEngine = releaseLookupEngine;
 }
Exemplo n.º 4
0
 public Audio(IRoadieSettings configuration,
              IHttpEncoder httpEncoder,
              IArtistFactory artistFactory,
              IReleaseFactory releaseFactory,
              IImageFactory imageFactory,
              ICacheManager cacheManager,
              ILogger logger,
              IArtistLookupEngine artistLookupEngine,
              IReleaseLookupEngine releaseLookupEngine,
              IAudioMetaDataHelper audioMetaDataHelper)
     : base(configuration, httpEncoder, artistFactory, releaseFactory, imageFactory, cacheManager, logger, artistLookupEngine, releaseLookupEngine)
 {
     this.AudioMetaDataHelper = audioMetaDataHelper;
 }
Exemplo n.º 5
0
        public ProcessorBase(IRoadieSettings configuration, IHttpEncoder httpEncoder, string destinationRoot, IRoadieDbContext context, ICacheManager cacheManager,
                             ILogger logger, IArtistLookupEngine artistLookupEngine, IArtistFactory artistFactory, IReleaseFactory releaseFactory, IImageFactory imageFactory, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper)
        {
            this.Configuration = configuration;
            this.HttpEncoder   = httpEncoder;
            this.DbContext     = context;
            this.CacheManager  = cacheManager;
            this.Logger        = logger;

            this.DestinationRoot     = destinationRoot;
            this.ArtistLookupEngine  = artistLookupEngine;
            this.ReleaseLookupEngine = releaseLookupEngine;
            this.ArtistFactory       = artistFactory;
            this.ReleaseFactory      = releaseFactory;
            this.ImageFactory        = imageFactory;
            this.AudioMetaDataHelper = audioMetaDataHelper;
        }
 public ArtistService(IArtistDao artistDao, IArtistFactory artistFactory)
 {
     _artistDao = artistDao;
     _artistFactory = artistFactory;
 }
Exemplo n.º 7
0
 public FolderProcessor(IRoadieSettings configuration, IHttpEncoder httpEncoder, string destinationRoot, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IArtistFactory artistFactory, IReleaseFactory releaseFactory, IImageFactory imageFactory, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper)
     : base(configuration, httpEncoder, destinationRoot, context, cacheManager, logger, artistLookupEngine, artistFactory, releaseFactory, imageFactory, releaseLookupEngine, audioMetaDataHelper)
 {
     SimpleContract.Requires <ArgumentNullException>(!string.IsNullOrEmpty(destinationRoot), "Invalid Destination Folder");
     this._fileProcessor = new FileProcessor(configuration, httpEncoder, destinationRoot, context, cacheManager, logger, artistLookupEngine, artistFactory, releaseFactory, imageFactory, releaseLookupEngine, audioMetaDataHelper);
 }
Exemplo n.º 8
0
 public FileProcessor(IRoadieSettings configuration, IHttpEncoder httpEncoder, string destinationRoot, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IArtistFactory artistFactory, IReleaseFactory releaseFactory, IImageFactory imageFactory, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper)
     : base(configuration, httpEncoder, destinationRoot, context, cacheManager, logger, artistLookupEngine, artistFactory, releaseFactory, imageFactory, releaseLookupEngine, audioMetaDataHelper)
 {
 }
 public ArtistService(IArtistDao artistDao, IArtistFactory artistFactory)
 {
     _artistDao     = artistDao;
     _artistFactory = artistFactory;
 }