SmartRoleRepositoryInsertSmartRoleMembersAsync - метод
Метод для добавления новых ролей в умную роль.
Пространство имён: Tessa.Roles.SmartRolesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<ValidationResult> InsertSmartRoleMembersAsync(
Guid smartRoleID,
IReadOnlyCollection<SmartRoleMember> members,
CancellationToken cancellationToken = default
)
Public Function InsertSmartRoleMembersAsync (
smartRoleID As Guid,
members As IReadOnlyCollection(Of SmartRoleMember),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ValidationResult)
public:
virtual ValueTask<ValidationResult^> InsertSmartRoleMembersAsync(
Guid smartRoleID,
IReadOnlyCollection<SmartRoleMember^>^ members,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract InsertSmartRoleMembersAsync :
smartRoleID : Guid *
members : IReadOnlyCollection<SmartRoleMember> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
override InsertSmartRoleMembersAsync :
smartRoleID : Guid *
members : IReadOnlyCollection<SmartRoleMember> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
- smartRoleID Guid
- Идентификатор умной роли, в которую добавляются новые роли.
- members IReadOnlyCollectionSmartRoleMember
- Список добавляемых ролей.
- cancellationToken CancellationToken (Optional)
- Объект, с помощью которого можно отменить асинхронную задачу.
ValueTaskValidationResultРезультат валидации.
ISmartRoleRepositoryInsertSmartRoleMembersAsync(Guid, IReadOnlyCollectionSmartRoleMember, CancellationToken)