SmartRoleGeneratorExecutorCreateSmartRoleAsync - метод
Создаёт умную роль по владельцу умной роли.
Пространство имён: Tessa.Roles.SmartRolesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<SmartRole> CreateSmartRoleAsync(
ISmartRoleGeneratorData data,
SmartRoleOwner owner,
CancellationToken cancellationToken = default
)
Public Function CreateSmartRoleAsync (
data As ISmartRoleGeneratorData,
owner As SmartRoleOwner,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of SmartRole)
public:
virtual ValueTask<SmartRole^> CreateSmartRoleAsync(
ISmartRoleGeneratorData^ data,
SmartRoleOwner^ owner,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CreateSmartRoleAsync :
data : ISmartRoleGeneratorData *
owner : SmartRoleOwner *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<SmartRole>
override CreateSmartRoleAsync :
data : ISmartRoleGeneratorData *
owner : SmartRoleOwner *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<SmartRole>
- data ISmartRoleGeneratorData
- Данные генератора умных ролей.
- owner SmartRoleOwner
- Владелец умной роли.
- cancellationToken CancellationToken (Optional)
- Объект, с помощью которого можно отменить асинхронную задачу.
ValueTaskSmartRoleУмная роль.
ISmartRoleGeneratorExecutorCreateSmartRoleAsync(ISmartRoleGeneratorData, SmartRoleOwner, CancellationToken)