C# Class Skimur.App.ReadModel.Impl.PostWrapper

Inheritance: IPostWrapper
Exibir arquivo Open project: skimur/skimur

Public Methods

Method Description
PostWrapper ( IPostDao postDao, IMembershipService membershipService, ISubDao subDao, IVoteDao voteDao, IPermissionDao permissionDao, IReportDao reportDao ) : System
Wrap ( List postIds, User currentUser = null ) : List
Wrap ( System.Guid postId, User currentUser = null ) : PostWrapped

Method Details

PostWrapper() public method

public PostWrapper ( IPostDao postDao, IMembershipService membershipService, ISubDao subDao, IVoteDao voteDao, IPermissionDao permissionDao, IReportDao reportDao ) : System
postDao IPostDao
membershipService IMembershipService
subDao ISubDao
voteDao IVoteDao
permissionDao IPermissionDao
reportDao IReportDao
return System

Wrap() public method

public Wrap ( List postIds, User currentUser = null ) : List
postIds List
currentUser User
return List

Wrap() public method

public Wrap ( System.Guid postId, User currentUser = null ) : PostWrapped
postId System.Guid
currentUser User
return PostWrapped