Esempio n. 1
0
 public TumblrPostsViewComponent(IMicroblogRepository microblogRepository)
 {
     _microblogRepository = microblogRepository;
 }
Esempio n. 2
0
 public TumblrPostsViewComponent(IMicroblogRepository microblogRepository)
 {
     _microblogRepository = microblogRepository;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteController" /> class.
 /// </summary>
 /// <param name="blogRepository">The blog post repository.</param>
 /// <param name="microblogRepository">The microblog (Tumblr) repository.</param>
 public SiteController(IBlogRepository blogRepository, IMicroblogRepository microblogRepository)
 {
     _blogRepository      = blogRepository;
     _microblogRepository = microblogRepository;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteController" /> class.
 /// </summary>
 /// <param name="blogRepository">The blog post repository.</param>
 /// <param name="projectRepository">The project repository</param>
 /// <param name="microblogRepository">The microblog (Tumblr) repository.</param>
 public SiteController(IBlogRepository blogRepository, IProjectRepository projectRepository, IMicroblogRepository microblogRepository)
 {
     _blogRepository = blogRepository;
     _projectRepository = projectRepository;
     _microblogRepository = microblogRepository;
 }
Esempio n. 5
0
 /// <summary>
 /// 构造器
 /// </summary>
 /// <param name="microblogRepository">微博数据仓储</param>
 public MicroblogService(IMicroblogRepository microblogRepository)
 {
     this.microblogRepository = microblogRepository;
 }
Esempio n. 6
0
 /// <summary>
 /// 构造器
 /// </summary>
 /// <param name="microblogRepository">微博数据仓储</param>
 public MicroblogService(IMicroblogRepository microblogRepository)
 {
     this.microblogRepository = microblogRepository;
 }