Task<(ForumResponse , ValidationResult )> GetTopicAsync(
Guid id,
bool isSuperModeratorModeEnabled,
Dictionary<string, Object> permissionsToken = null,
bool singletonMode = false,
Guid? typeID = null,
CancellationToken cancellationToken = default
)
Function GetTopicAsync (
id As Guid,
isSuperModeratorModeEnabled As Boolean,
Optional permissionsToken As Dictionary(Of String, Object) = Nothing,
Optional singletonMode As Boolean = false,
Optional typeID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As ForumResponse, As ValidationResult))
Task<ValueTuple<ForumResponse^, ValidationResult^>>^ GetTopicAsync(
Guid id,
bool isSuperModeratorModeEnabled,
Dictionary<String^, Object^>^ permissionsToken = nullptr,
bool singletonMode = false,
Nullable<Guid> typeID = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetTopicAsync :
id : Guid *
isSuperModeratorModeEnabled : bool *
?permissionsToken : Dictionary<string, Object> *
?singletonMode : bool *
?typeID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _permissionsToken = defaultArg permissionsToken null
let _singletonMode = defaultArg singletonMode false
let _typeID = defaultArg typeID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ForumResponse, ValidationResult>>
ForumResponse, в котором в [!:ForumResponse.Info] содержится TopicModel.
ValidationResult, содержащий информацию по возникшим ошибкам.