C# 클래스 Skimur.Web.Controllers.PostsController

상속: BaseController
파일 보기 프로젝트 열기: skimur/skimur

공개 메소드들

메소드 설명
AnnouncementPosts ( ) : Microsoft.AspNet.Mvc.ActionResult
Frontpage ( PostsSortBy sort, PostsTimeFilter time, int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult
Post ( string subName, System.Guid id, CommentSortBy commentsSort, System.Guid commentId = null, int limit = 100, int context ) : Microsoft.AspNet.Mvc.ActionResult
Posts ( string subName, PostsSortBy sort, PostsTimeFilter time, int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult
PostsController ( ISubDao subDao, ISubWrapper subWrapper, IPostDao postDao, IPostWrapper postWrapper, IUserContext userContext, ICommandBus commandBus, IContextService contextService, ICommentTreeContextBuilder commentTreeContextBuilder, ICommentDao commentDao, ISubActivityDao subActivityDao, ICommentNodeHierarchyBuilder commentNodeHierarchyBuilder ) : System

비공개 메소드들

메소드 설명
Approve ( System.Guid postId ) : Microsoft.AspNet.Mvc.ActionResult
Create ( CreatePostModel model, string subName = null ) : Microsoft.AspNet.Mvc.ActionResult
Create ( string subName = null, string type = null ) : Microsoft.AspNet.Mvc.ActionResult
Delete ( System.Guid postId, string reason ) : Microsoft.AspNet.Mvc.ActionResult
Edit ( EditPostModel model ) : Microsoft.AspNet.Mvc.ActionResult
Remove ( System.Guid postId ) : Microsoft.AspNet.Mvc.ActionResult
ToggleNsfw ( System.Guid postId, bool nsfw ) : Microsoft.AspNet.Mvc.ActionResult
ToggleSticky ( System.Guid postId, bool sticky ) : Microsoft.AspNet.Mvc.ActionResult
Unmoderated ( string subName ) : Microsoft.AspNet.Mvc.ActionResult

메소드 상세

AnnouncementPosts() 공개 메소드

public AnnouncementPosts ( ) : Microsoft.AspNet.Mvc.ActionResult
리턴 Microsoft.AspNet.Mvc.ActionResult

Frontpage() 공개 메소드

public Frontpage ( PostsSortBy sort, PostsTimeFilter time, int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult
sort PostsSortBy
time PostsTimeFilter
pageNumber int
pageSize int
리턴 Microsoft.AspNet.Mvc.ActionResult

Post() 공개 메소드

public Post ( string subName, System.Guid id, CommentSortBy commentsSort, System.Guid commentId = null, int limit = 100, int context ) : Microsoft.AspNet.Mvc.ActionResult
subName string
id System.Guid
commentsSort CommentSortBy
commentId System.Guid
limit int
context int
리턴 Microsoft.AspNet.Mvc.ActionResult

Posts() 공개 메소드

public Posts ( string subName, PostsSortBy sort, PostsTimeFilter time, int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult
subName string
sort PostsSortBy
time PostsTimeFilter
pageNumber int
pageSize int
리턴 Microsoft.AspNet.Mvc.ActionResult

PostsController() 공개 메소드

public PostsController ( ISubDao subDao, ISubWrapper subWrapper, IPostDao postDao, IPostWrapper postWrapper, IUserContext userContext, ICommandBus commandBus, IContextService contextService, ICommentTreeContextBuilder commentTreeContextBuilder, ICommentDao commentDao, ISubActivityDao subActivityDao, ICommentNodeHierarchyBuilder commentNodeHierarchyBuilder ) : System
subDao ISubDao
subWrapper ISubWrapper
postDao IPostDao
postWrapper IPostWrapper
userContext IUserContext
commandBus ICommandBus
contextService IContextService
commentTreeContextBuilder ICommentTreeContextBuilder
commentDao ICommentDao
subActivityDao ISubActivityDao
commentNodeHierarchyBuilder ICommentNodeHierarchyBuilder
리턴 System