ConsoleAppHelperCreateAsyncDbManagerFuncAsync(IConsoleLogger, IConsoleScriptOptions, CancellationToken) - метод
Пространство имён: Tessa.Platform.ConsoleAppsСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public static ValueTask<Func<CancellationToken, Task<DbManager>>> CreateAsyncDbManagerFuncAsync(
IConsoleLogger logger,
IConsoleScriptOptions options,
CancellationToken cancellationToken = default
)
Public Shared Function CreateAsyncDbManagerFuncAsync (
logger As IConsoleLogger,
options As IConsoleScriptOptions,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of Func(Of CancellationToken, Task(Of DbManager)))
public:
static ValueTask<Func<CancellationToken, Task<DbManager^>^>^> CreateAsyncDbManagerFuncAsync(
IConsoleLogger^ logger,
IConsoleScriptOptions^ options,
CancellationToken cancellationToken = CancellationToken()
)
static member CreateAsyncDbManagerFuncAsync :
logger : IConsoleLogger *
options : IConsoleScriptOptions *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<Func<CancellationToken, Task<DbManager>>>
- logger IConsoleLogger
-
- options IConsoleScriptOptions
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskFuncCancellationToken,
TaskDbManager