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