Ejemplo n.º 1
0
 public RackInfoBuilder(
     IGalerySession session,
     IActiveRackService activeRackService,
     IDirectoryMethods directoryMethods
     )
 {
     _session           = session;
     _activeRackService = activeRackService;
     _directoryMethods  = directoryMethods;
 }
Ejemplo n.º 2
0
 public BinderFactory(
     IHasher hasher,
     IBinderRepository binderRepository,
     IActiveRackService activeRackServices
     )
 {
     _hasher             = hasher;
     _binderRepository   = binderRepository;
     _activeRackServices = activeRackServices;
 }
Ejemplo n.º 3
0
 public PhysicalFilesParser(
     IDirectoryMethods directoryMethods,
     IHasher hasher,
     IActiveRackService activeRackService,
     IBinderFactory binderFactory
     )
 {
     _directoryMethods  = directoryMethods;
     _hasher            = hasher;
     _activeRackService = activeRackService;
     _binderFactory     = binderFactory;
 }
 public FileImportApplication(
     RackInfoBuilder rackInfoBuilder,
     IActiveRackService dbInfoProvider,
     PhysicalFilesParser physicalFilesParser,
     IPersister <Content> contentEntityPersister
     )
 {
     _rackInfoBuilder        = rackInfoBuilder;
     _dbInfoProvider         = dbInfoProvider;
     _physicalFilesParser    = physicalFilesParser;
     _contentEntityPersister = contentEntityPersister;
 }
Ejemplo n.º 5
0
        public BinderFactory CreateTestBinder()
        {
            CoreTestData ctd = new();

            IHasher            hasher                      = ctd.CreateTestHasher();
            IBinderRepository  binderRepository            = CreateTestBinderRepository();
            IActiveRackService currentDatabaseInfoProvider = ctd.CreateTestCurrentDatabaseInfoProvider();

            BinderFactory binder = new(hasher, binderRepository, currentDatabaseInfoProvider);

            return(binder);
        }