GetMultipleMessagesCommandStatus() public static method

Дефолтная логика получения статуса команды производящей операции над одним или несколькими сообщениями форума.
public static GetMultipleMessagesCommandStatus ( IServiceProvider serviceProvider, int messageIds ) : CommandStatus
serviceProvider IServiceProvider
messageIds int
return CommandStatus
Ejemplo n.º 1
0
 public CommandStatus QueryMessageExportStatus(ICommandContext context)
 {
     return(ForumCommandHelper.GetMultipleMessagesCommandStatus(context, null)
            .Or(QueryForumCommandStatus(context, null)));
 }
Ejemplo n.º 2
0
 public CommandStatus QueryMessagesCommandStatus(ICommandContext context, int[] messageIds)
 {
     return(ForumCommandHelper.GetMultipleMessagesCommandStatus(context, messageIds));
 }