ForumProviderStrategyAddParticipantsAsync - метод |
Пространство имён:
Tessa.Forums
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task<ForumResponse> AddParticipantsAsync(
Guid topicID,
IList<Guid> participants,
bool readOnly,
ParticipantTypes type = ParticipantTypes.Participant,
bool isInitiator = false,
bool subscribe = false,
CancellationToken cancellationToken = default
)
Public Function AddParticipantsAsync (
topicID As Guid,
participants As IList(Of Guid),
readOnly As Boolean,
Optional type As ParticipantTypes = ParticipantTypes.Participant,
Optional isInitiator As Boolean = false,
Optional subscribe As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ForumResponse)
public:
virtual Task<ForumResponse^>^ AddParticipantsAsync(
Guid topicID,
IList<Guid>^ participants,
bool readOnly,
ParticipantTypes type = ParticipantTypes::Participant,
bool isInitiator = false,
bool subscribe = false,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract AddParticipantsAsync :
topicID : Guid *
participants : IList<Guid> *
readOnly : bool *
?type : ParticipantTypes *
?isInitiator : bool *
?subscribe : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _type = defaultArg type ParticipantTypes.Participant
let _isInitiator = defaultArg isInitiator false
let _subscribe = defaultArg subscribe false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ForumResponse>
override AddParticipantsAsync :
topicID : Guid *
participants : IList<Guid> *
readOnly : bool *
?type : ParticipantTypes *
?isInitiator : bool *
?subscribe : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _type = defaultArg type ParticipantTypes.Participant
let _isInitiator = defaultArg isInitiator false
let _subscribe = defaultArg subscribe false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ForumResponse>
Параметры
- topicID
- Тип: SystemGuid
- participants
- Тип: System.Collections.GenericIListGuid
- readOnly
- Тип: SystemBoolean
- type (Optional)
- Тип: Tessa.Forums.ModelsParticipantTypes
- isInitiator (Optional)
- Тип: SystemBoolean
- subscribe (Optional)
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskForumResponseРеализации
IForumProviderAddParticipantsAsync(Guid, IListGuid, Boolean, ParticipantTypes, Boolean, Boolean, CancellationToken)См. также