SingletonExtensionHelperTryGetInstanceIDAsync - метод |
Пространство имён:
Tessa.Extensions.Platform.Server.Cards
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public static Task<Guid?> TryGetInstanceIDAsync(
Object validationObject,
IValidationResultBuilder validationResult,
DbManager db,
IQueryBuilderFactory builderFactory,
CardType cardType,
CancellationToken cancellationToken = default
)
Public Shared Function TryGetInstanceIDAsync (
validationObject As Object,
validationResult As IValidationResultBuilder,
db As DbManager,
builderFactory As IQueryBuilderFactory,
cardType As CardType,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Guid?)
public:
static Task<Nullable<Guid>>^ TryGetInstanceIDAsync(
Object^ validationObject,
IValidationResultBuilder^ validationResult,
DbManager^ db,
IQueryBuilderFactory^ builderFactory,
CardType^ cardType,
CancellationToken cancellationToken = CancellationToken()
)
static member TryGetInstanceIDAsync :
validationObject : Object *
validationResult : IValidationResultBuilder *
db : DbManager *
builderFactory : IQueryBuilderFactory *
cardType : CardType *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Nullable<Guid>>
Параметры
- validationObject
- Тип: SystemObject
- validationResult
- Тип: Tessa.Platform.ValidationIValidationResultBuilder
- db
- Тип: Tessa.Platform.DataDbManager
- builderFactory
- Тип: Tessa.Platform.DataIQueryBuilderFactory
- cardType
- Тип: Tessa.CardsCardType
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskNullableGuidСм. также