Exemplo n.º 1
0
 public Retrievers(string blogConnectionString)
 {
     this.ImagesRetriever   = new ImagesRetriever(blogConnectionString);
     this.ArticlesRetriever = new ArticlesRetriever(blogConnectionString);
     this.UsersRetriever    = new UsersRetriever(blogConnectionString);
     this.FilesRetriever    = new FilesRetriever(blogConnectionString);
     this.GalleryRetriever  = new GalleryRetriever(blogConnectionString);
 }
Exemplo n.º 2
0
 public GalleryApiController(
     ILog log,
     IServices services,
     IRetrievers retrievers,
     IRepositories repositories)
     : base(log)
 {
     this.galleryService    = services.GalleryService;
     this.galleryRetriever  = retrievers.GalleryRetriever;
     this.galleryRepository = repositories.GalleryRepository;
 }
Exemplo n.º 3
0
        public GalleryRetriever_Tests()
        {
            IRetrievers retrievers = DependencyResolver.Resolve <IRetrievers>();

            this.galleryRetriever = retrievers.GalleryRetriever;

            IRepositories repositories = DependencyResolver.Resolve <IRepositories>();

            this.galleryRepository = repositories.GalleryRepository;
            this.imagesRepository  = repositories.ImagesRepository;
            this.filesRepository   = repositories.FilesRepository;
        }
Exemplo n.º 4
0
 public PhotoGalleryController(ILog log, IRetrievers retrievers, IRepositories repositories)
     : base(log)
 {
     this.galleryRetriever  = retrievers.GalleryRetriever;
     this.galleryRepository = repositories.GalleryRepository;
 }