예제 #1
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;
 }
예제 #2
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);
 }
예제 #3
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)
 {
 }
예제 #4
0
 public ReleaseService(IReleaseRepository RepositoryIn, IReleaseFactory FactoryIn)
 {
     _Repository = RepositoryIn;
     _Factory    = FactoryIn;
 }
예제 #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;
        }
예제 #6
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;
 }