Task<(FmNotificationResponse , ValidationResult )> GetNotificationsAsync(
IForumData forumData,
DateTime lastPostTime,
CancellationToken cancellationToken = default
)
Function GetNotificationsAsync (
forumData As IForumData,
lastPostTime As DateTime,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As FmNotificationResponse, As ValidationResult))
Task<ValueTuple<FmNotificationResponse^, ValidationResult^>>^ GetNotificationsAsync(
IForumData^ forumData,
DateTime lastPostTime,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetNotificationsAsync :
forumData : IForumData *
lastPostTime : DateTime *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<FmNotificationResponse, ValidationResult>>
FmNotificationResponse, в котором заполнено свойство Notifications со значениями, отсортированными по времени отправки.
ValidationResult, содержащий информацию по возникшим ошибкам.