ForumProviderStrategyHelperGetParticipantInfoDbAsync - метод |
Пространство имён:
Tessa.Forums
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксисpublic static Task<(ParticipantModel participant, ValidationResult vr)> GetParticipantInfoDbAsync(
IDbScope dbScope,
Guid userID,
Guid topicID,
CancellationToken cancellationToken = default
)
Public Shared Function GetParticipantInfoDbAsync (
dbScope As IDbScope,
userID As Guid,
topicID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of (participant As ParticipantModel, vr As ValidationResult))
public:
static Task<ValueTuple<ParticipantModel^, ValidationResult^>>^ GetParticipantInfoDbAsync(
IDbScope^ dbScope,
Guid userID,
Guid topicID,
CancellationToken cancellationToken = CancellationToken()
)
static member GetParticipantInfoDbAsync :
dbScope : IDbScope *
userID : Guid *
topicID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ParticipantModel, ValidationResult>>
Параметры
- dbScope
- Тип: Tessa.Platform.DataIDbScope
- userID
- Тип: SystemGuid
- topicID
- Тип: SystemGuid
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskValueTupleParticipantModel,
ValidationResult
См. также