ForumViewModelGetMessagesAsync - метод
Пространство имён: Tessa.UI.Controls.ForumsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public Task<ForumResponse> GetMessagesAsync(
Guid topicID,
int messagesCount,
int page = -1,
Guid? messageID = null,
DateTime? lastReadMessageTime = null,
bool isNeedUpdateLastReadMessageTime = true,
string searchText = null,
bool reverseOrder = false,
CancellationToken cancellationToken = default
)
Public Function GetMessagesAsync (
topicID As Guid,
messagesCount As Integer,
Optional page As Integer = -1,
Optional messageID As Guid? = Nothing,
Optional lastReadMessageTime As DateTime? = Nothing,
Optional isNeedUpdateLastReadMessageTime As Boolean = true,
Optional searchText As String = Nothing,
Optional reverseOrder As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ForumResponse)
public:
Task<ForumResponse^>^ GetMessagesAsync(
Guid topicID,
int messagesCount,
int page = -1,
Nullable<Guid> messageID = nullptr,
Nullable<DateTime> lastReadMessageTime = nullptr,
bool isNeedUpdateLastReadMessageTime = true,
String^ searchText = nullptr,
bool reverseOrder = false,
CancellationToken cancellationToken = CancellationToken()
)
member GetMessagesAsync :
topicID : Guid *
messagesCount : int *
?page : int *
?messageID : Nullable<Guid> *
?lastReadMessageTime : Nullable<DateTime> *
?isNeedUpdateLastReadMessageTime : bool *
?searchText : string *
?reverseOrder : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _page = defaultArg page -1
let _messageID = defaultArg messageID null
let _lastReadMessageTime = defaultArg lastReadMessageTime null
let _isNeedUpdateLastReadMessageTime = defaultArg isNeedUpdateLastReadMessageTime true
let _searchText = defaultArg searchText null
let _reverseOrder = defaultArg reverseOrder false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ForumResponse>
- topicID Guid
-
- messagesCount Int32
-
- page Int32 (Optional)
-
- messageID NullableGuid (Optional)
-
- lastReadMessageTime NullableDateTime (Optional)
-
- isNeedUpdateLastReadMessageTime Boolean (Optional)
-
- searchText String (Optional)
-
- reverseOrder Boolean (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskForumResponse