Task<(ForumResponse , ValidationResult )> GetTopicsWithMessagesAsync(
Guid cardID,
bool isSuperModeratorModeEnabled,
int messagesInTopicСount,
DateTime lastDate,
Guid? topicTypeID = null,
CancellationToken cancellationToken = default
)
Function GetTopicsWithMessagesAsync (
cardID As Guid,
isSuperModeratorModeEnabled As Boolean,
messagesInTopicСount As Integer,
lastDate As DateTime,
Optional topicTypeID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As ForumResponse, As ValidationResult))
Task<ValueTuple<ForumResponse^, ValidationResult^>>^ GetTopicsWithMessagesAsync(
Guid cardID,
bool isSuperModeratorModeEnabled,
int messagesInTopicСount,
DateTime lastDate,
Nullable<Guid> topicTypeID = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetTopicsWithMessagesAsync :
cardID : Guid *
isSuperModeratorModeEnabled : bool *
messagesInTopicСount : int *
lastDate : DateTime *
?topicTypeID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _topicTypeID = defaultArg topicTypeID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ForumResponse, ValidationResult>>
ForumResponse, в котором заполнены Topics и ForumSettings
ValidationResult, содержащий информацию по возникшим ошибкам.