IForumPermissionsProviderCheckHasPermissionIsEditAllMessagesAsync - метод |
Пространство имён:
Tessa.Forums
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис Task<(bool result, ValidationResult validationResult)> CheckHasPermissionIsEditAllMessagesAsync(
ICardExtensionContext context,
Guid cardID,
Guid topicID,
CancellationToken cancellationToken = default
)
Function CheckHasPermissionIsEditAllMessagesAsync (
context As ICardExtensionContext,
cardID As Guid,
topicID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of (result As Boolean, validationResult As ValidationResult))
Task<ValueTuple<bool, ValidationResult^>>^ CheckHasPermissionIsEditAllMessagesAsync(
ICardExtensionContext^ context,
Guid cardID,
Guid topicID,
CancellationToken cancellationToken = CancellationToken()
)
abstract CheckHasPermissionIsEditAllMessagesAsync :
context : ICardExtensionContext *
cardID : Guid *
topicID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<bool, ValidationResult>>
Параметры
- context
- Тип: Tessa.Cards.ExtensionsICardExtensionContext
- cardID
- Тип: SystemGuid
- topicID
- Тип: SystemGuid
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskValueTupleBoolean,
ValidationResultСм. также