FileContentHelperTryGetCardIDAsync - метод
Try to get card identifier for physical file.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static Task<Guid?> TryGetCardIDAsync(
IDbScope dbScope,
Guid id,
bool isVersion = true,
CancellationToken cancellationToken = default
)
Public Shared Function TryGetCardIDAsync (
dbScope As IDbScope,
id As Guid,
Optional isVersion As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Guid?)
public:
static Task<Nullable<Guid>>^ TryGetCardIDAsync(
IDbScope^ dbScope,
Guid id,
bool isVersion = true,
CancellationToken cancellationToken = CancellationToken()
)
static member TryGetCardIDAsync :
dbScope : IDbScope *
id : Guid *
?isVersion : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _isVersion = defaultArg isVersion true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Nullable<Guid>>
- dbScope IDbScope
Объект для взаимодействия с базой данных.
Определяет область видимости объекта
DbManager.
- id Guid
- Identifier of file or version.
- isVersion Boolean (Optional)
- Identify file version or file.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskNullableGuidCard identifier if any.