コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlogPostTasks"/> class.
 /// </summary>
 /// <param name="blogPostSpecificationFactory">
 /// The blog post specification factory.
 /// </param>
 /// <param name="blogPostRepository">
 /// The blog post repository.
 /// </param>
 /// <param name="cachingProvider">
 /// The caching provider.
 /// </param>
 public BlogPostTasks(
     IBlogPostSpecificationFactory blogPostSpecificationFactory,
     IBlogPostRepository blogPostRepository,
     ICachingProvider cachingProvider)
 {
     this.blogPostSpecificationFactory = blogPostSpecificationFactory;
     this.blogPostRepository = blogPostRepository;
     this.cachingProvider = cachingProvider;
 }
コード例 #2
0
ファイル: SearchTasks.cs プロジェクト: kamukondiwa/SimpleBlog
 /// <summary>
 /// Initializes a new instance of the <see cref="SearchTasks"/> class.
 /// </summary>
 /// <param name="blogPostSpecificationFactory">
 /// The blog post specification factory.
 /// </param>
 /// <param name="blogPostRepository">
 /// The blog post repository.
 /// </param>
 /// <param name="blogSpecificationFactory">
 /// The blog Specification Factory.
 /// </param>
 /// <param name="blogRepository">
 /// The blog Repository.
 /// </param>
 /// <param name="blogSpecificationBuilder">
 /// The blog Specification Builder.
 /// </param>
 public SearchTasks(
     IBlogPostSpecificationFactory blogPostSpecificationFactory, 
     IBlogPostRepository blogPostRepository, 
     IBlogSpecificationFactory blogSpecificationFactory, 
     IBlogRepository blogRepository, 
     ILinqSpecificationBuilderService blogSpecificationBuilder)
 {
     this.blogPostSpecificationFactory = blogPostSpecificationFactory;
     this.blogSpecificationBuilder = blogSpecificationBuilder;
     this.blogPostRepository = blogPostRepository;
     this.blogSpecificationFactory = blogSpecificationFactory;
     this.blogRepository = blogRepository;
 }