KrForumPermissionsProviderCheckHasPermissionAddTopicAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Server.Forum
Сборка:
Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 3.5.0.19
Синтаксис public override Task<(bool result, ValidationResult validationResult)> CheckHasPermissionAddTopicAsync(
ICardExtensionContext context,
Guid cardID,
CancellationToken cancellationToken = default
)
Public Overrides Function CheckHasPermissionAddTopicAsync (
context As ICardExtensionContext,
cardID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of (result As Boolean, validationResult As ValidationResult))
public:
virtual Task<ValueTuple<bool, ValidationResult^>>^ CheckHasPermissionAddTopicAsync(
ICardExtensionContext^ context,
Guid cardID,
CancellationToken cancellationToken = CancellationToken()
) override
abstract CheckHasPermissionAddTopicAsync :
context : ICardExtensionContext *
cardID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<bool, ValidationResult>>
override CheckHasPermissionAddTopicAsync :
context : ICardExtensionContext *
cardID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<bool, ValidationResult>>
Параметры
- context
- Тип: Tessa.Cards.ExtensionsICardExtensionContext
- cardID
- Тип: SystemGuid
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskValueTupleBoolean,
ValidationResultРеализации
IForumPermissionsProviderCheckHasPermissionAddTopicAsync(ICardExtensionContext, Guid, CancellationToken)См. также