示例#1
0
 public BlogController(
     IBlogEntryRepository blogEntryRepository,
     IMemoryCache memoryCache)
 {
     _blogEntryRepository = blogEntryRepository;
     _memoryCache         = memoryCache;
 }
示例#2
0
 public BlogEntryBL(IBlogEntryRepository repository, IBlogEntryTagRepository blogEntryTagRepository, ITagRepository tagRepository, ICommonRepository commonRepository)
 {
     _repository             = repository;
     _commonRepository       = commonRepository;
     _blogEntryTagRepository = blogEntryTagRepository;
     _tagRepository          = tagRepository;
 }
 public HomepageViewModelFactory(IProfilerWrapper profilerWrapper,
     IBlogEntryRepository blogEntryRepository,
     ITagCloudViewModelFactory tagCloudViewModelFactory,
     IHomepageTitleFactory homepageTitleFactory)
 {
     _profilerWrapper = profilerWrapper;
     _blogEntryRepository = blogEntryRepository;
     _tagCloudViewModelFactory = tagCloudViewModelFactory;
     _homepageTitleFactory = homepageTitleFactory;
 }
 public BlogManagementController(
     IBlogEntryPhotoRepository blogEntryPhotoRepository,
     IBlogEntryTagRepository blogEntryTagRepository,
     ITagRepository tagRepository,
     IBlogEntryRepository blogEntryRepository,
     ISiteFilesRepository siteFilesRepository,
     IImageUploaderService imageUploaderService,
     IMemoryCache memoryCache)
 {
     _blogEntryPhotoRepository = blogEntryPhotoRepository;
     _blogEntryTagRepository   = blogEntryTagRepository;
     _tagRepository            = tagRepository;
     _blogEntryRepository      = blogEntryRepository;
     _siteFilesRepository      = siteFilesRepository;
     _imageUploaderService     = imageUploaderService;
     _memoryCache = memoryCache;
 }
示例#5
0
 public HomeController(IBlogEntryRepository blogEntryRepository, ITagRepository tagRepository)
 {
     _blogEntryRepository = blogEntryRepository;
     _tagRepository       = tagRepository;
 }
示例#6
0
 public HomeController(IBlogEntryRepository blogEntryRepository)
 {
     _blogEntryRepository = blogEntryRepository;
 }
示例#7
0
 public SiteMapController(IBlogEntryRepository blogEntryRepository)
 {
     _blogEntryRepository = blogEntryRepository;
 }
示例#8
0
 public BlogEntryController(IBlogEntryRepository repository)
 {
     _repository = repository;
 }
 public SingleBlogItemViewModelFactory(IBlogEntryRepository blogEntryRepository)
 {
     _blogEntryRepository = blogEntryRepository;
 }
示例#10
0
 private static BlogEntryController CreateController(IBlogEntryRepository mockedRepository)
 {
     var request = new HttpRequestMessage();
     request.Properties.Add(HttpPropertyKeys.HttpConfigurationKey, new HttpConfiguration());
     var blogEntryController = new BlogEntryController(mockedRepository) { Request = request };
     return blogEntryController;
 }
示例#11
0
 public BlogEntryService(IBlogEntryRepository repository)
     : base(repository)
 {
 }