C# Class Skimur.Web.Controllers.MessagesController

Inheritance: BaseController
显示文件 Open project: skimur/skimur

Public Methods

Method Description
Compose ( string to = null, string subject = null, string message = null ) : Microsoft.AspNet.Mvc.ActionResult
Details ( System.Guid id, System.Guid context = null ) : Microsoft.AspNet.Mvc.ActionResult
Inbox ( InboxType type, int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult
MessagesController ( ICommandBus commandBus, ILogger logger, IUserContext userContext, IMessageDao messageDao, IMessageWrapper messageWrapper, ISubDao subDao, IModerationDao moderationDao ) : System
ModeratorMail ( InboxType type, string subName = null, int pageNumber = null, int pageSize = null ) : Microsoft.AspNet.Mvc.ActionResult
Sent ( int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult

Private Methods

Method Description
Compose ( ComposeMessageViewModel model ) : Microsoft.AspNet.Mvc.ActionResult
MarkMessagesAsRead ( List messages ) : Microsoft.AspNet.Mvc.ActionResult
MarkMessagesAsUnread ( List messages ) : Microsoft.AspNet.Mvc.ActionResult
Reply ( ReplyMessageViewModel model ) : Microsoft.AspNet.Mvc.ActionResult

Method Details

Compose() public method

public Compose ( string to = null, string subject = null, string message = null ) : Microsoft.AspNet.Mvc.ActionResult
to string
subject string
message string
return Microsoft.AspNet.Mvc.ActionResult

Details() public method

public Details ( System.Guid id, System.Guid context = null ) : Microsoft.AspNet.Mvc.ActionResult
id System.Guid
context System.Guid
return Microsoft.AspNet.Mvc.ActionResult

Inbox() public method

public Inbox ( InboxType type, int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult
type InboxType
pageNumber int
pageSize int
return Microsoft.AspNet.Mvc.ActionResult

MessagesController() public method

public MessagesController ( ICommandBus commandBus, ILogger logger, IUserContext userContext, IMessageDao messageDao, IMessageWrapper messageWrapper, ISubDao subDao, IModerationDao moderationDao ) : System
commandBus ICommandBus
logger ILogger
userContext IUserContext
messageDao IMessageDao
messageWrapper IMessageWrapper
subDao ISubDao
moderationDao IModerationDao
return System

ModeratorMail() public method

public ModeratorMail ( InboxType type, string subName = null, int pageNumber = null, int pageSize = null ) : Microsoft.AspNet.Mvc.ActionResult
type InboxType
subName string
pageNumber int
pageSize int
return Microsoft.AspNet.Mvc.ActionResult

Sent() public method

public Sent ( int pageNumber, int pageSize ) : Microsoft.AspNet.Mvc.ActionResult
pageNumber int
pageSize int
return Microsoft.AspNet.Mvc.ActionResult