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