NotificationItemsViewModelUpdateNotificationsAsync - метод
Получает с сервера данные и обновляет viewModel.
Пространство имён: Tessa.UI.Controls.ForumsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public Task UpdateNotificationsAsync(
IList<NotificationModel> notifications,
bool deleteReadMessages = true,
CancellationToken cancellationToken = default
)
Public Function UpdateNotificationsAsync (
notifications As IList(Of NotificationModel),
Optional deleteReadMessages As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ UpdateNotificationsAsync(
IList<NotificationModel^>^ notifications,
bool deleteReadMessages = true,
CancellationToken cancellationToken = CancellationToken()
)
member UpdateNotificationsAsync :
notifications : IList<NotificationModel> *
?deleteReadMessages : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _deleteReadMessages = defaultArg deleteReadMessages true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- notifications IListNotificationModel
- deleteReadMessages Boolean (Optional)
- cancellationToken CancellationToken (Optional)
Task