ForumProviderStrategyGetMessagesAsync - метод |
Пространство имён:
Tessa.Forums
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task<ForumResponse> GetMessagesAsync(
Guid topicID,
bool isSuperModerator,
int messagesCount,
int pageNumber = -1,
Guid? messageID = null,
DateTime? lastReadMessageTime = null,
bool isNeedUpdatelastReadMessageTime = true,
CancellationToken cancellationToken = default
)
Public Function GetMessagesAsync (
topicID As Guid,
isSuperModerator As Boolean,
messagesCount As Integer,
Optional pageNumber As Integer = -1,
Optional messageID As Guid? = Nothing,
Optional lastReadMessageTime As DateTime? = Nothing,
Optional isNeedUpdatelastReadMessageTime As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ForumResponse)
public:
virtual Task<ForumResponse^>^ GetMessagesAsync(
Guid topicID,
bool isSuperModerator,
int messagesCount,
int pageNumber = -1,
Nullable<Guid> messageID = nullptr,
Nullable<DateTime> lastReadMessageTime = nullptr,
bool isNeedUpdatelastReadMessageTime = true,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetMessagesAsync :
topicID : Guid *
isSuperModerator : bool *
messagesCount : int *
?pageNumber : int *
?messageID : Nullable<Guid> *
?lastReadMessageTime : Nullable<DateTime> *
?isNeedUpdatelastReadMessageTime : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _pageNumber = defaultArg pageNumber -1
let _messageID = defaultArg messageID null
let _lastReadMessageTime = defaultArg lastReadMessageTime null
let _isNeedUpdatelastReadMessageTime = defaultArg isNeedUpdatelastReadMessageTime true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ForumResponse>
override GetMessagesAsync :
topicID : Guid *
isSuperModerator : bool *
messagesCount : int *
?pageNumber : int *
?messageID : Nullable<Guid> *
?lastReadMessageTime : Nullable<DateTime> *
?isNeedUpdatelastReadMessageTime : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _pageNumber = defaultArg pageNumber -1
let _messageID = defaultArg messageID null
let _lastReadMessageTime = defaultArg lastReadMessageTime null
let _isNeedUpdatelastReadMessageTime = defaultArg isNeedUpdatelastReadMessageTime true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ForumResponse>
Параметры
- topicID
- Тип: SystemGuid
- isSuperModerator
- Тип: SystemBoolean
- messagesCount
- Тип: SystemInt32
- pageNumber (Optional)
- Тип: SystemInt32
- messageID (Optional)
- Тип: SystemNullableGuid
- lastReadMessageTime (Optional)
- Тип: SystemNullableDateTime
- isNeedUpdatelastReadMessageTime (Optional)
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskForumResponseРеализации
IForumProviderGetMessagesAsync(Guid, Boolean, Int32, Int32, NullableGuid, NullableDateTime, Boolean, CancellationToken)См. также