ForumUIHelperOpenTopicAsync - метод |
Пространство имён:
Tessa.UI.Controls.Forums.Controls
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public static Task OpenTopicAsync(
ICardModel cardModel,
Guid topicID,
Guid TopicTypeID,
DateTime? openMessageTime = null,
bool isNeedUpdatelastReadMessageTime = true,
CancellationToken cancellationToken = default
)
Public Shared Function OpenTopicAsync (
cardModel As ICardModel,
topicID As Guid,
TopicTypeID As Guid,
Optional openMessageTime As DateTime? = Nothing,
Optional isNeedUpdatelastReadMessageTime As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
static Task^ OpenTopicAsync(
ICardModel^ cardModel,
Guid topicID,
Guid TopicTypeID,
Nullable<DateTime> openMessageTime = nullptr,
bool isNeedUpdatelastReadMessageTime = true,
CancellationToken cancellationToken = CancellationToken()
)
static member OpenTopicAsync :
cardModel : ICardModel *
topicID : Guid *
TopicTypeID : Guid *
?openMessageTime : Nullable<DateTime> *
?isNeedUpdatelastReadMessageTime : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _openMessageTime = defaultArg openMessageTime null
let _isNeedUpdatelastReadMessageTime = defaultArg isNeedUpdatelastReadMessageTime true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
Параметры
- cardModel
- Тип: Tessa.UI.CardsICardModel
- topicID
- Тип: SystemGuid
- TopicTypeID
- Тип: SystemGuid
- openMessageTime (Optional)
- Тип: SystemNullableDateTime
- isNeedUpdatelastReadMessageTime (Optional)
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskСм. также