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