コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlogPostArchivePageViewModelMapper"/> class.
 /// </summary>
 /// <param name="blogPostSummaryPageViewModelMapper">
 /// The blog post summary page view model mapper.
 /// </param>
 /// <param name="archiveSectionViewModelMapper">
 /// The archive Section View Model Mapper.
 /// </param>
 public BlogPostArchivePageViewModelMapper(
     IBlogPostSummaryPageViewModelMapper blogPostSummaryPageViewModelMapper,
     IArchiveSectionViewModelMapper archiveSectionViewModelMapper)
 {
     this.blogPostSummaryPageViewModelMapper = blogPostSummaryPageViewModelMapper;
     this.archiveSectionViewModelMapper = archiveSectionViewModelMapper;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlogPostListPageViewModelMapper"/> class.
 /// </summary>
 /// <param name="blogPostSummaryPageViewModelMapper">
 /// The blog summary page view model mapper.
 /// </param>
 /// <param name="identityService">
 /// The identity Service.
 /// </param>
 public BlogPostListPageViewModelMapper(
     IBlogPostSummaryPageViewModelMapper blogPostSummaryPageViewModelMapper, IIdentityService identityService)
 {
     this.blogPostSummaryPageViewModelMapper = blogPostSummaryPageViewModelMapper;
     this.identityService = identityService;
 }