public Task<(ForumResponse , ValidationResult )> GetTopicsWithMessagesAsync(
Guid cardID,
bool isSuperModeratorModeEnabled,
int messagesInTopicCount,
DateTime lastDate,
Guid? topicTypeID = null,
CancellationToken cancellationToken = default
)
Public Function GetTopicsWithMessagesAsync (
cardID As Guid,
isSuperModeratorModeEnabled As Boolean,
messagesInTopicCount As Integer,
lastDate As DateTime,
Optional topicTypeID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As ForumResponse, As ValidationResult))
public:
virtual Task<ValueTuple<ForumResponse^, ValidationResult^>>^ GetTopicsWithMessagesAsync(
Guid cardID,
bool isSuperModeratorModeEnabled,
int messagesInTopicCount,
DateTime lastDate,
Nullable<Guid> topicTypeID = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetTopicsWithMessagesAsync :
cardID : Guid *
isSuperModeratorModeEnabled : bool *
messagesInTopicCount : int *
lastDate : DateTime *
?topicTypeID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _topicTypeID = defaultArg topicTypeID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ForumResponse, ValidationResult>>
override GetTopicsWithMessagesAsync :
cardID : Guid *
isSuperModeratorModeEnabled : bool *
messagesInTopicCount : 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, содержащий информацию по возникшим ошибкам.